Skip to content

flowmachine.core.server.query_schemas.base_exposed_query

Class BaseExposedQuery

BaseExposedQuery()
Source: flowmachine/core/server/query_schemas/base_exposed_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

store_async

store_async(self, store_dependencies=True)
Source: flowmachine/core/server/query_schemas/base_exposed_query.py

Store this query using a background thread.

Parameters
  • store_dependencies: bool, default True

    If True, set the dependencies of this query running first.

Returns
  • str

    Query ID that can be used to check the query state.

_flowmachine_query_obj

_flowmachine_query_obj
Source: flowmachine/core/server/query_schemas/base_exposed_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