Collate Python SDK quickstart
Collate uses the openmetadata-ingestion Python package for typed metadata operations. Match the package release line to your Collate server release.
Install the SDK
For Collate 1.13.1, install a package from the matching server patch line:
Set the Collate API URL and an ingestion bot JSON Web Token (JWT):
Call configure() once when the application starts. Entity classes reuse the configured client.
Pass credentials directly when environment variables aren’t available:
Manage a table
The following example creates, retrieves, updates, and soft-deletes a table. Replace sample_data.ecommerce_db.shopify with the fully qualified name of an existing database schema.
Tables.create() is idempotent. It creates the table when it doesn’t exist and updates it when the fully qualified name already exists.
Avoid hard_delete=True unless permanent removal is intended. Hard deletes can’t be undone.
Next steps