-
Notifications
You must be signed in to change notification settings - Fork 32
🎨 Enhance study cloning endpoint to allow modifying title, description, hidden
#7892
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
🎨 Enhance study cloning endpoint to allow modifying title, description, hidden
#7892
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7892 +/- ##
===========================================
- Coverage 87.94% 66.14% -21.81%
===========================================
Files 1845 795 -1050
Lines 71141 36456 -34685
Branches 1220 176 -1044
===========================================
- Hits 62565 24112 -38453
- Misses 8224 12286 +4062
+ Partials 352 58 -294
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
pcrespov
left a comment
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.
Thx
services/api-server/src/simcore_service_api_server/api/routes/studies.py
Show resolved
Hide resolved
I am not sure how In any case, I am ok with it. As I mentioned aboe, this is a "clone and optionally update" |
@pcrespov, right, I am thinking if |
|
@Mergifyio queue |
🟠 Waiting for conditions to match
|
|



What do these changes do?
POST /studies/{study_id}:cloneendpoint in the api-server to support modifing the description and title of the cloned study.POST studies/{study_id}/jobsendpoint. This would mirror what we do for theProgramsection of the api-server. I think it is better to support this in a POST endpoint where we are anyway cloning the project to not open the door to people modifying already existing projects. But I am happy to change this if there are concerns it conceptually doesn't fit with the:cloneRelated issue/s
How to test
Dev-ops