AtlanTagCache#
- class pyatlan.cache.atlan_tag_cache.AtlanTagCache(typedef_client: TypeDefClient)[source]#
Lazily-loaded cache for translating between Atlan-internal ID strings and human-readable names for Atlan tags.
- classmethod get_id_for_name(name: str) str | None [source]#
Translate the provided human-readable Atlan tag name to its Atlan-internal ID string.
- Parameters:
name – human-readable name of the Atlan tag
- Returns:
Atlan-internal ID string of the Atlan tag
- classmethod get_name_for_id(idstr: str) str | None [source]#
Translate the provided Atlan-internal classification ID string to the human-readable Atlan tag name.
- Parameters:
idstr – Atlan-internal ID string of the Atlan tag
- Returns:
human-readable name of the Atlan tag
- classmethod get_source_tags_attr_id(id: str) str | None [source]#
Translate the provided Atlan-internal Atlan tag ID string to the Atlan-internal name of the attribute that captures tag attachment details (for source-synced tags).
- Parameters:
id – Atlan-internal ID string of the Atlan tag
- Returns:
Atlan-internal ID string of the attribute containing source-synced tag attachment details