flowmachine.core.query_info_lookup¶
Class QueryInfoLookup¶
QueryInfoLookup(redis_client: redis.client.Redis)
Implements a lookup from the query_id to query parameters and vice versa (backed by redis).
Methods¶
get_query_id¶
get_query_id(self, query_params: dict) -> str
get_query_kind¶
get_query_kind(self, query_id: str) -> str
get_query_params¶
get_query_params(self, query_id: str) -> dict
query_is_known¶
query_is_known(self, query_id: str) -> bool
register_query¶
register_query(self, query_id: str, query_params: dict) -> None
Class QueryInfoLookupError¶
Source: flowmachine/core/query_info_lookup.py
Exception indicating an error with the query info lookup.
Class UnkownQueryIdError¶
Source: flowmachine/core/query_info_lookup.py
Exception indicating an error with the query info lookup.