Skip to content

bloqade.analog.task.exclusive.HTTPHandlerABC

← Module overview

classHTTPHandlerABCsource

bloqade.analog.task.exclusive.HTTPHandlerABC

class HTTPHandlerABC

methodsubmit_task_via_zapiersource

bloqade.analog.task.exclusive.HTTPHandlerABC.submit_task_via_zapier

Signature
def submit_task_via_zapier(task_ir: QuEraTaskSpecification, task_id: str)

Submit a task and add task_id to the task fields for querying later.

returns response: The response from the Zapier webhook. used for error handling

Parameters

NameTypeDescription
task_irQuEraTaskSpecificationThe task to be submitted.
task_idstrThe task id to be added to the task fields.
source

methodquery_task_statussource

bloqade.analog.task.exclusive.HTTPHandlerABC.query_task_status

def query_task_status(task_id: str)

Query the task status from the AirTable.

returns response: The response from the AirTable. used for error handling

Parameters

NameTypeDescription
task_idstrThe task id to be queried.
source

methodfetch_resultssource

bloqade.analog.task.exclusive.HTTPHandlerABC.fetch_results

def fetch_results(task_id: str)

Fetch the task results from the AirTable.

returns response: The response from the AirTable. used for error handling

Parameters

NameTypeDescription
task_idstrThe task id to be queried.
source