DataQueryKind🔗
Definition🔗
class DataQueryKind:
kind: typing.Literal["DataQuery"]
group: str
version: str
# New type for datasource reference
# Not creating a new type until we figure out how to handle DS refs for group by, adhoc, and every place that uses DataSourceRef in TS.
datasource: typing.Optional[dashboardv2beta1.Dashboardv2beta1DataQueryKindDatasource]
spec: typing.Optional[object]
Methods🔗
to_json🔗
Converts this object into a representation that can easily be encoded to JSON.
from_json🔗
Builds this object from a JSON-decoded dict.