Skip to main content

module query_mixin

Mixin class containing Query specific methods To be used by OpenMetadata class

class OMetaQueryMixin

OpenMetadata API methods related to Queries. To be inherited by OpenMetadata

method get_entity_queries

Get the queries attached to a table Args:
  • entity_id (Union[Uuid,str]): entity id of given entity
  • fields (Optional[List[str]]): list of fields to be included in response
Returns:
  • Optional[List[Query]]: List of queries

method ingest_entity_queries_data

PUT queries for an entity Args: entity: Entity to update queries: CreateQueryRequest to add