Unified

class tamr_client.dataset.unified.UnifiedDataset(url, name, key_attribute_names, description=None)[source]

A Tamr unified dataset

See https://docs.tamr.com/reference/dataset-models

Parameters
  • url (URL) – The project-based alias for this dataset e.g. /projects/1/unifiedDataset

  • name (str) –

  • key_attribute_names (Tuple[str, …]) –

  • description (Optional[str]) –

tamr_client.dataset.unified.from_project(session, instance, project)[source]

Get unified dataset of a project

Fetches the unified dataset of a given project from Tamr server

Parameters
  • instance (Instance) – Tamr instance containing this dataset

  • project (MasteringProject) – Tamr project of this Unified Dataset

Raises
  • unified.NotFound – If no unified dataset could be found at the specified URL. Corresponds to a 404 HTTP error.

  • requests.HTTPError – If any other HTTP error is encountered.

Return type

UnifiedDataset

tamr_client.dataset.unified.apply_changes(session, unified_dataset)[source]

Applies changes to the unified dataset and waits for the operation to complete

Parameters

unified_dataset (UnifiedDataset) – The Unified Dataset which will be committed

Return type

Operation

Exceptions

class tamr_client.dataset.unified.NotFound[source]

Raised when referencing (e.g. updating or deleting) a unified dataset that does not exist on the server.