module service_mixin
Helper mixin to handle services
class OMetaServiceMixin
OpenMetadata API methods related to service.
To be inherited by OpenMetadata
method create_service_from_source
- name: serviceName
- serviceType: Type Enum
- connection: (DatabaseConnection, DashboardConnection…)
entity: Service Type
config: WorkflowSource
Returns:
Created Service
method get_create_service_from_source
entity: Service Type
config: WorkflowSource
Returns:
CreateService request
If the OpenMetadata Connection has storeServiceConnection set to false, we won’t pass the connection details when creating the service.
method get_service_or_create
entity: Entity Type to get or create
config: WorkflowSource
Returns:
Entity Service of T