Project Movement

Import

tamr_toolbox.project.import_artifacts(*, project_artifact_path, tamr_client, target_project=None, new_project_name=None, new_unified_dataset_name=None, exclude_artifacts=None, include_additive_artifacts=None, include_destructive_artifacts=None, fail_if_not_present=False, asynchronous=False, overwrite_existing=False)[source]

Import project artifacts into a tamr instance

Requires Tamr 2021.005.0 or later

Parameters
  • tamr_client (Client) – a tamr client

  • project_artifact_path (str) – project artifacts zip filepath

  • target_project (Optional[Project]) – an optional target project for migration

  • new_project_name (Optional[str]) – new project name

  • new_unified_dataset_name (Optional[str]) – new unified dataset name

  • exclude_artifacts (Optional[List[str]]) – list of artifacts to exclude in import

  • include_additive_artifacts (Optional[List[str]]) – list of artifacts to import only additively

  • include_destructive_artifacts (Optional[List[str]]) – list of artifacts to import destructively

  • fail_if_not_present (bool) – flag to fail project if not already present in instance

  • asynchronous (bool) – flag to run function asynchronously

  • overwrite_existing (bool) – flag to overwrite existing project artifacts

Return type

Operation

Returns

operation for project import api call

Export

tamr_toolbox.project.export_artifacts(*, project, artifact_directory_path, exclude_artifacts=None, asynchronous=False)[source]

Export project artifacts for project movement

Requires Tamr 2021.005.0 or later

Parameters
  • project (Project) – a tamr project object

  • artifact_directory_path (str) – export directory for project artifacts

  • exclude_artifacts (Optional[List[str]]) – list of artifacts to exclude

  • asynchronous (bool) – flag to run function asynchronously

Return type

Operation

Returns

operation for project export api call