Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
from typing import Union, Optional
from flowclient.api_query import APIQuery
from flowclient.async_connection import ASyncConnection
from flowclient.async_client import (
run_query,
get_status,
get_result_by_query_id,
get_geojson_result_by_query_id,
wait_for_query_to_be_ready,
)
class ASyncAPIQuery(APIQuery):
"""
Representation of a FlowKit query.
Parameters
----------
connection : ASyncConnection
Connection to FlowKit server on which to run this query
parameters : dict
Parameters that specify the query
Attributes
----------
parameters
connection
status
"""