base
Contains the class bases that encapsulate the parameters for the dispatching of a task to a worker.
This includes meta-parameters that are API-specific (ids), pertain to API expectations (time to live, etc), or otherwise required for the worker to complete the task (such as r2 upload URLs).
DispatchParameterBase
Bases: BaseModel
Base class for all dispatch parameter sets.
Source code in horde_sdk/worker/dispatch/base.py
generation_ids
instance-attribute
The identifiers for this generation. The request is expected to yield as many results as there are IDs.
dispatch_source
class-attribute
instance-attribute
The source of the dispatch request. Defaults to KNOWN_DISPATCH_SOURCE.LOCAL_CUSTOM_3RD_PARTY.
ttl
class-attribute
instance-attribute
The amount of seconds before this job is considered stale and aborted on the server. Defaults to None.
inference_backend
class-attribute
instance-attribute
The inference backend to use for this job. Defaults to None.