Exclusive
 ExclusiveRemoteTask  dataclass  ¶
 ExclusiveRemoteTask(
    _task_ir,
    _metadata,
    _parallel_decoder,
    _http_handler=HTTPHandler(),
    _task_id=None,
    _task_result_ir=None,
)
 Bases: CustomRemoteTaskABC
pull ¶
Blocking pull to get the task result. poll_interval is the time interval to poll the task status. Please ensure that it is relatively large, otherwise the server could get overloaded with queries.
Source code in src/bloqade/analog/task/exclusive.py
 HTTPHandlerABC ¶
 fetch_results  abstractmethod  ¶
  Fetch the task results from the AirTable.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| task_id | str | The task id to be queried. | required | 
returns response: The response from the AirTable. used for error handling
Source code in src/bloqade/analog/task/exclusive.py
   query_task_status  abstractmethod  ¶
  Query the task status from the AirTable.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| task_id | str | The task id to be queried. | required | 
returns response: The response from the AirTable. used for error handling
Source code in src/bloqade/analog/task/exclusive.py
   submit_task_via_zapier  abstractmethod  ¶
  Submit a task and add task_id to the task fields for querying later.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| task_ir | QuEraTaskSpecification | The task to be submitted. | required | 
| task_id | str | The task id to be added to the task fields. | required | 
returns response: The response from the Zapier webhook. used for error handling