Skip to content

Query🔗

Constructor🔗

Query()

Methods🔗

build🔗

Builds the object.

def build() -> dashboardv2beta1.DataQueryKind

type_classic_conditions🔗

def type_classic_conditions(type_classic_conditions: cogbuilder.Builder[expr.TypeClassicConditions]) -> typing.Self

type_math🔗

def type_math(type_math: cogbuilder.Builder[expr.TypeMath]) -> typing.Self

type_reduce🔗

def type_reduce(type_reduce: cogbuilder.Builder[expr.TypeReduce]) -> typing.Self

type_resample🔗

def type_resample(type_resample: cogbuilder.Builder[expr.TypeResample]) -> typing.Self

type_sql🔗

def type_sql(type_sql: cogbuilder.Builder[expr.TypeSql]) -> typing.Self

type_threshold🔗

def type_threshold(type_threshold: cogbuilder.Builder[expr.TypeThreshold]) -> typing.Self

datasource🔗

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.

def datasource(ref: cogbuilder.Builder[dashboardv2beta1.Dashboardv2beta1DataQueryKindDatasource]) -> typing.Self

version🔗

def version(version: str) -> typing.Self

See also🔗