bloqade.analog.task.exclusive.HTTPHandler
← Module overview
class
method
sourcemethod
method
classHTTPHandler¶source
bloqade.analog.task.exclusive.HTTPHandler
Bases: HTTPHandlerABC
Signature
class HTTPHandler(zapier_webhook_url: str = None, zapier_webhook_key: str = None, vercel_api_url: str = None)Parameters
| Name | Type | Default | Description |
|---|---|---|---|
zapier_webhook_url | str | None | |
zapier_webhook_key | str | None | |
vercel_api_url | str | None |
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
zapier_webhook_url | — | zapier_webhook_url or os.environ['ZAPIER_WEBHOOK_URL'] | |
zapier_webhook_key | — | zapier_webhook_key or os.environ['ZAPIER_WEBHOOK_KEY'] | |
verrcel_api_url | — | vercel_api_url or os.environ['VERCEL_API_URL'] |
methodsubmit_task_via_zapier¶source
bloqade.analog.task.exclusive.HTTPHandler.submit_task_via_zapier
Signature
def submit_task_via_zapier(task_ir: QuEraTaskSpecification, task_id: str, task_note: str)Parameters
| Name | Type | Description |
|---|---|---|
task_ir | QuEraTaskSpecification | |
task_id | str | |
task_note | str |
methodquery_task_status¶source
bloqade.analog.task.exclusive.HTTPHandler.query_task_status
methodfetch_results¶source
bloqade.analog.task.exclusive.HTTPHandler.fetch_results