-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
backup task created from cloud #8972
Conversation
Please update the changelog |
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.
Please make tests pass successfully.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #8972 +/- ##
===========================================
+ Coverage 73.75% 73.92% +0.17%
===========================================
Files 428 428
Lines 44514 44529 +15
Branches 3881 3881
===========================================
+ Hits 32830 32918 +88
+ Misses 11684 11611 -73
|
Done. |
elif self._db_data.storage == StorageChoice.CLOUD_STORAGE: | ||
assert self._db_task.dimension != models.DimensionType.DIM_3D, "Cloud storage cannot contain 3d images" | ||
assert not hasattr(self._db_data, 'video'), "Only images can be stored in cloud storage" | ||
assert self._db_data.related_files.count() == 0, "No related images can be stored in cloud storage" |
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.
Related: #9071
|
Motivation and context
Making a backup for tasks/projects created from cloud storage
How has this been tested?
Checklist
develop
branchLicense
Feel free to contact the maintainers if that's a concern.