Request

class snuba_sdk.request.Flags(totals=None, consistent=None, turbo=None, debug=None, dry_run=None, legacy=None)[source]

Bases: object

consistent: bool | None = None
debug: bool | None = None
dry_run: bool | None = None
legacy: bool | None = None
to_dict()[source]
totals: bool | None = None
turbo: bool | None = None
validate()[source]
Return type

None

exception snuba_sdk.request.InvalidFlagError[source]

Bases: Exception

exception snuba_sdk.request.InvalidRequestError[source]

Bases: Exception

class snuba_sdk.request.Request(dataset, app_id, query, flags=<factory>)[source]

Bases: object

app_id: str
dataset: str
flags: snuba_sdk.request.Flags
print()[source]
Return type

str

query: snuba_sdk.query.Query
serialize()[source]
Return type

str

to_dict()[source]
validate()[source]
Return type

None