Skip to main content

CustomMetadataDef: retrieve custom metadata

Use CustomMetadataDef in the Atlan Python SDK to programmatically retrieve custom metadata type definitions and their attributes.

You can retrieve an existing custom metadata structure:

Retrieve existing custom metadata structure
CustomMetadataDef existing = client
.getCustomMetadataCache()
.getCustomMetadataDef("RACI"); // (1)
  1. You can retrieve the current custom metadata definition using the custom metadata cache from any client. In most cases you can simply use the default client (Atlan.getDefaultClient()). Pass the human-readable name of the custom metadata structure to the cache.
Was this page helpful?