EnumCache

class pyatlan.cache.enum_cache.EnumCache(client: AtlanClient)[source]

Lazily-loaded cache for accessing details of an enumeration.

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

refresh_cache() None[source]

Refreshes the cache of enumerations by requesting the full set of enumerations from Atlan.