WorkerJobInfo

class safir.arq.uws.WorkerJobInfo(job_id, user, token, timeout, run_id=None)

Bases: object

Metadata about the job that may be useful to the backend.

Parameters:

Attributes Summary

job_id

UWS job identifier (not the same as the arq job ID).

run_id

User-supplied run ID, if any.

timeout

Maximum execution time for the job.

token

Delegated Gafaelfawr token to act on behalf of the user.

user

Username of the user who submitted the job.

Attributes Documentation

job_id: str = <dataclasses._MISSING_TYPE object>

UWS job identifier (not the same as the arq job ID).

run_id: str | None = None

User-supplied run ID, if any.

timeout: timedelta = <dataclasses._MISSING_TYPE object>

Maximum execution time for the job.

token: str = <dataclasses._MISSING_TYPE object>

Delegated Gafaelfawr token to act on behalf of the user.

user: str = <dataclasses._MISSING_TYPE object>

Username of the user who submitted the job.