Dataset

class tamr_client.Dataset(url, name, key_attribute_names, description=None)[source]

A Tamr dataset

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

Parameters
  • url (URL) –

  • key_attribute_names (Tuple[str, …]) –

tamr_client.dataset.from_resource_id(session, instance, id)

Get dataset by resource ID

Fetches dataset from Tamr server

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

  • id (str) – Dataset ID

Raises
  • DatasetNotFound – If no 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

Dataset

Exceptions

class tamr_client.DatasetNotFound[source]

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