Forum Discussion
MarcoOesterlin
Mar 13, 2025Copper Contributor
Retrieve a Schema of a Data Asset using the Atlas API
Hi, Is there a possibility to retrieve the schema of a data asset using the Atlas API? We have a need using the schema to control sensitive elements in Fabric. I know that one workaround is to...
- Mar 15, 2025
I accidentally stumbled upon the new Microsoft Purview Python SDK.
It is possible to retrieve the schema by using the following function:client = PurviewCatalogClient(endpoint=purview_endpoint, credential=credential) response = client.entity.get_by_guid(guid="INSERT DATA ASSET GUID HERE") print(response)
MarcoOesterlin
Mar 15, 2025Copper Contributor
I accidentally stumbled upon the new Microsoft Purview Python SDK.
It is possible to retrieve the schema by using the following function:
client = PurviewCatalogClient(endpoint=purview_endpoint, credential=credential)
response = client.entity.get_by_guid(guid="INSERT DATA ASSET GUID HERE")
print(response)LaurenzHiller
Mar 21, 2025Copper Contributor
Thanks for sharing!