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:
- <b>
entity_id
</b> (Union[Uuid,str]): entity id of given entity - <b>
fields
</b> (Optional[List[str]]): list of fields to be included in response
Returns:
- <b>
Optional[List[Query]]
</b>: List of queries
method ingest_entity_queries_data
PUT queries for an entity
:param entity: Entity to update :param queries: CreateQueryRequest to add