tidy3d.web.move

Contents

tidy3d.web.move#

class move[source]#

Bases:

Move the projects containing the supplied tasks, including all revisions.

Parameters:
  • task_ids (str | list[str]) – Source task IDs. Each containing project is moved once, even when multiple supplied IDs belong to that project.

  • folder_name (str) – Destination folder, created if absent.

  • workspace (Literal['private', 'shared'] | None) – Destination workspace. Defaults to td.config.workspace.default.

Notes

All source tasks are checked before moving. Each move affects every revision of the containing project. Crossing workspaces changes visibility for all revisions and removes existing share links. The client processes one project per request, so a later failure can leave earlier tasks moved. The error reports completed task IDs. Edit locks are enforced by the service.

Cross-workspace moves run in the background: returning means the requests were accepted, not that files have arrived. Transfers may take several minutes and time out after 30 minutes. Poll web.get_info(task_id).operationStatus for move_completed or move_timeout. A reported moving or copying source is rejected before sending another move request.