flowmachine.core.server.query_schemas.dummy_query¶
Class DummyQueryExposed¶
DummyQueryExposed(dummy_param, aggregation_unit, dummy_delay)
Base class for exposed flowmachine queries. Note: this class and derived classes are not meant to be instantiated directly! Instead, they are instantiated automatically by the class FlowmachineQuerySchema. Example: FlowmachineQuerySchema().load({"query_kind": "dummy_query", "dummy_param": "foobar"})
Attributes¶
Methods¶
_flowmachine_query_obj¶
_flowmachine_query_obj
Return the underlying flowmachine query object which this class exposes.
Returns¶
Query
query_id¶
query_id
Class DummyQuerySchema¶
DummyQuerySchema(*, only: 'types.StrSequenceOrSet | None' = None, exclude: 'types.StrSequenceOrSet' = (), many: 'bool' = False, context: 'dict | None' = None, load_only: 'types.StrSequenceOrSet' = (), dump_only: 'types.StrSequenceOrSet' = (), partial: 'bool | types.StrSequenceOrSet' = False, unknown: 'str | None' = None)
Dummy query useful for testing.
Attributes¶
Methods¶
dict_class¶
dict_class
set_class¶
set_class