bloqade.analog.task.exclusive.HTTPHandlerABC
← Module overview
class
method
sourcemethod
sourcemethod
source
classHTTPHandlerABC¶source
bloqade.analog.task.exclusive.HTTPHandlerABC
class HTTPHandlerABCmethodsubmit_task_via_zapier¶source
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
| Name | Type | Description |
|---|---|---|
task_ir | QuEraTaskSpecification | The task to be submitted. |
task_id | str | The task id to be added to the task fields. |
methodquery_task_status¶source
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
| Name | Type | Description |
|---|---|---|
task_id | str | The task id to be queried. |
methodfetch_results¶source
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
| Name | Type | Description |
|---|---|---|
task_id | str | The task id to be queried. |