mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-23 23:04:23 +00:00
13 KiB
13 KiB
| title | slug |
|---|---|
| Overview | /sdk/python/api-reference |
API Overview
Modules
auth_provider: Interface definition for an Auth providerclient: Python API REST wrapper and helpersclient_utils: OMeta client create helperscredentials: Helper methods to handle creds retrievalmodels: Pydantic models for ometa client APIometa_api: OpenMetadata is the high level Python API that serves as a wrapperprovider_registry: Register auth provider init functions hereroutes: OMeta API endpointsutils: Helper functions to handle OpenMetadata Entities' propertiesdashboard_mixin: Mixin class containing Table specific methodsdata_insight_mixin: Mixin class containing data specific methodses_mixin: Mixin class containing Lineage specific methodsingestion_pipeline_mixin: Mixin class containing ingestion pipeline specific methodslineage_mixin: Mixin class containing Lineage specific methodsmlmodel_mixin: Mixin class containing Lineage specific methodspatch_mixin: Mixin class containing PATCH specific methodspatch_mixin_utils: Utilities and a super class containing common utility methods for mixins performing JSON PATCHespipeline_mixin: Mixin class containing Pipeline specific methodsquery_mixin: Mixin class containing Query specific methodsrole_policy_mixin: Mixin class containing Role and Policy specific methodssearch_index_mixin: Mixin class containing Search Index specific methodsserver_mixin: Mixin class containing Server and client specific methodsservice_mixin: Helper mixin to handle servicestable_mixin: Mixin class containing Table specific methodstests_mixin: Mixin class containing Tests specific methodstopic_mixin: Mixin class containing Topic specific methodsuser_mixin: Mixin class containing User specific methodsversion_mixin: Mixin class containing entity versioning specific methods
Classes
auth_provider.Auth0AuthenticationProvider: OAuth authentication implementationauth_provider.AuthenticationException: Error trying to get the token from the providerauth_provider.AuthenticationProvider: Interface definition for an Authentication providerauth_provider.AzureAuthenticationProvider: Prepare the Json Web Token for Azure authauth_provider.CustomOIDCAuthenticationProvider: Custom OIDC authentication implementationauth_provider.GoogleAuthenticationProvider: Google authentication implementationauth_provider.NoOpAuthenticationProvider: Extends AuthenticationProvider classauth_provider.OktaAuthenticationProvider: Prepare the Json Web Token for Okta authauth_provider.OpenMetadataAuthenticationProvider: OpenMetadata authentication implementationclient.APIError: Represent API related error.client.ClientConfig: :param raw_data: should we return api response raw or wrap it withclient.REST: REST client wrapper to manage requests withclient.RetryException: API Client retry exceptioncredentials.DATE: date string in the format YYYY-MM-DDcredentials.FLOAT: api allows passing floats or float as strings.credentials.URL: Handle URL for creds retrievalmodels.EntityList: Pydantic Entity list modelometa_api.EmptyPayloadException: Raise when receiving no data, even if no exceptionometa_api.InvalidEntityException: We receive an entity not supported in an operationometa_api.MissingEntityTypeException: We are receiving an Entity Type[T] not coveredometa_api.OpenMetadata: Generic interface to the OpenMetadata APIprovider_registry.InvalidAuthProviderException: Raised when we cannot find a valid auth providerdashboard_mixin.OMetaDashboardMixin: OpenMetadata API methods related to Dashboards and Charts.data_insight_mixin.DataInsightMixin: data insight mixin used to write resultses_mixin.ESMixin: OpenMetadata API methods related to Elasticsearch.ingestion_pipeline_mixin.OMetaIngestionPipelineMixin: OpenMetadata API methods related to ingestion pipeline.lineage_mixin.OMetaLineageMixin: OpenMetadata API methods related to Lineage.mlmodel_mixin.OMetaMlModelMixin: OpenMetadata API methods related to MlModel.patch_mixin.OMetaPatchMixin: OpenMetadata API methods related to Tables.patch_mixin_utils.OMetaPatchMixinBase: OpenMetadata API methods related to Glossaries.patch_mixin_utils.PatchField: JSON PATCH field namespatch_mixin_utils.PatchOperation: JSON PATCH operation stringspatch_mixin_utils.PatchPath: JSON PATCH path stringspatch_mixin_utils.PatchValue: JSON PATCH value field namespipeline_mixin.OMetaPipelineMixin: OpenMetadata API methods related to the Pipeline Entityquery_mixin.OMetaQueryMixin: OpenMetadata API methods related to Queries.role_policy_mixin.OMetaRolePolicyMixin: OpenMetadata API methods related to Roles and Policies.search_index_mixin.OMetaSearchIndexMixin: OpenMetadata API methods related to search index.server_mixin.OMetaServerMixin: OpenMetadata API methods related to the Pipeline Entityserver_mixin.VersionMismatchException: Used when server and client versions do not matchserver_mixin.VersionNotFoundException: Used when server doesn't return a versionservice_mixin.OMetaServiceMixin: OpenMetadata API methods related to service.table_mixin.OMetaTableMixin: OpenMetadata API methods related to Tables.tests_mixin.OMetaTestsMixin: OpenMetadata API methods related to Tests.topic_mixin.OMetaTopicMixin: OpenMetadata API methods related to Topics.user_mixin.OMetaUserMixin: OpenMetadata API methods related to user.version_mixin.OMetaVersionMixin: OpenMetadata API methods related to entity versioning.
Functions
client_utils.create_ometa_client: Create an OpenMetadata clientclient_utils.get_chart_entities_from_id: Method to get the chart entity using get_by_name apicredentials.get_api_version: Get version APIcredentials.get_credentials: Get credentialsprovider_registry.auth0_auth_initprovider_registry.azure_auth_initprovider_registry.basic_auth_initprovider_registry.custom_oidc_auth_initprovider_registry.google_auth_initprovider_registry.ldap_auth_initprovider_registry.no_auth_initprovider_registry.okta_auth_initprovider_registry.om_auth_initprovider_registry.saml_auth_initprovider_registry.warn_auth_deprecationprovider_registry.warn_not_supportedutils.format_name: Given a name, replace all special characters by_utils.get_entity_type: Given an Entity T, return its type.utils.model_str: Default model stringifying method.patch_mixin.update_column_description: Inplace update for the incoming column listpatch_mixin.update_column_tags: Inplace update for the incoming column list