Skip to content

flowmachine.core.server.query_schemas.dummy_query

Class DummyQueryExposed

DummyQueryExposed(dummy_param, aggregation_unit, dummy_delay)
Source: flowmachine/core/server/query_schemas/dummy_query.py

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
Source: flowmachine/core/server/query_schemas/dummy_query.py

Return the underlying flowmachine query object which this class exposes.

Returns
  • Query

query_id

query_id
Source: flowmachine/core/server/query_schemas/base_exposed_query.py

Class DummyQuerySchema

DummyQuerySchema(*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)
Source: flowmachine/core/server/query_schemas/dummy_query.py

Dummy query useful for testing.

Attributes

Methods

dict_class

dict_class
Source: marshmallow/schema.py

set_class

set_class
Source: marshmallow/schema.py