-
Notifications
You must be signed in to change notification settings - Fork 11
new features and rebranding of classes #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new features and rebranding of classes #41
Conversation
src/vip_client/classes/VipSession.py
Outdated
|
|
||
| # Clean session data on VIP | ||
| def finish(self, timeout=300) -> VipSession: | ||
| def finish(self, timeout=300, keep_output=False) -> VipSession: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A similar keep_inputs option would be also useful.
In this case, if inputs and/or outputs are not removed by the finish method, we need to provide a remove/delete_folder allowing users to clean-up data at a later moment in time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The option keep_input was added in this commit.
The user can delete inputs/outputs later by recreating a session with the same name and calling finish() without options (it's in the doc).
Here is a breakdown of the PR:
VipClientandVipLoaderare deletedVipCIbecomeVipGirderVipGirder, you can choose to upload the result directly on VIP and not on girderVipGirderhas new download_outputs() function (only from output that are located on VIP)VipGirderandVipSessioncan now do finish without deleting results on VIP.