Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi all,
I'm using the API to duplicate projects (project_handle.duplicate()). There is a duplication mode argument for the duplicate method. I am trying to understand how options passed in this argument correspond to those provided in the UI.
Here's what seems clear in terms of API values for each UI option:
DSS UI | DSS API |
Flow only | NONE |
Uploaded files | ??? |
Required inputs | ??? |
Full duplication | FULL |
Input sharing | SHARING |
According the the documentation, duplication_mode can be one of the following values: MINIMAL, SHARING, FULL, NONE.
Does anyone know which UI option MINIMAL corresponds to? And is there another duplication mode that is not not documented (UI provides 5, doc for API lists 4)?
Thanks!
Marlan
Operating system used: Linux Red Hat
Hi @Marlan ,
Here's the complete list of duplication modes:
DSS UI | DSS API |
Flow only | NONE |
Uploaded files | UPLOADS_ONLY |
Required inputs | MINIMAL |
Full duplication | FULL |
Input sharing | SHARING |
For reference, I determined this by watching the DATA_DIR/run/backend.log file while I duplicated a project in the UI. The duplication mode that the UI uses is logged.
Thanks,
Zach
Hi @Marlan ,
Here's the complete list of duplication modes:
DSS UI | DSS API |
Flow only | NONE |
Uploaded files | UPLOADS_ONLY |
Required inputs | MINIMAL |
Full duplication | FULL |
Input sharing | SHARING |
For reference, I determined this by watching the DATA_DIR/run/backend.log file while I duplicated a project in the UI. The duplication mode that the UI uses is logged.
Thanks,
Zach
This is great, @ZachM - thank you!
Marlan