tidy3d.web.duplicate#
- class duplicate[source]#
Bases:
Copy selected project revisions, returning new task IDs in input order.
- Parameters:
task_ids (str | list[str]) – Source task IDs, each selecting its containing project revision. Repeated IDs create separate copies. The client never takes an edit lock.
folder_name (str) – Destination folder, created if absent. May be the source folder.
workspace (Literal['private', 'shared'] | None) – Destination workspace. Defaults to
td.config.workspace.default.
- Returns:
New task IDs in input order. Copy names are assigned by the service.
- Return type:
Notes
Each input copies one project revision, rather than every revision in the project. Requests run sequentially. An error reports copies already created. The service may reject a source with an active editor and temporarily report a copying status on the source while copying its data.