EnumCache#
- class pyatlan.cache.enum_cache.EnumCache(typedef_client: TypeDefClient)[source]#
Lazily-loaded cache for accessing details of an enumeration.
- classmethod get_by_name(name: str) EnumDef [source]#
Retrieve the enumeration definition by its name.
- Parameters:
name – human-readable name of the enumeration.
- Raises:
NotFoundError – if the enumeration with the given name does not exist.
- Returns:
enumeration definition