-
Notifications
You must be signed in to change notification settings - Fork 6
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
added destination to case.results.download() functionality #53
Conversation
@@ -27,15 +27,14 @@ | |||
print(case.results.minmax_state.raw) | |||
|
|||
# download all result files of the case: | |||
case.results.download_manager(all=True) | |||
downloaded_files = case.results.download(all=True, destination=case.name) | |||
print(downloaded_files) |
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.
should we print, or refactor to use log [Potentially allow centralized control over printing by setting logging levels]
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.
this is part of examples. I think it is better to use print
in examples as these will be run and modify by users so they will not be familiar with log.
flow360/cloud/s3_utils.py
Outdated
@@ -24,6 +24,7 @@ | |||
|
|||
from ..environment import Env | |||
from ..exceptions import CloudFileError |
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.
it seems like CloudFileError is unused
…ther download methods applied PR comments fixed black removed unused import
329d086
to
75809b5
Compare
https://flow360.atlassian.net/browse/FLPY-3