get_task
async
¶
get_task(
farm_id: FarmId,
queue_id: QueueId,
job_id: JobId,
step_id: StepId,
task_id: TaskId,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
) -> GetTaskResponse
Gets a task.
Parameters:
-
farm_id(FarmId) –The farm ID of the farm connected to the task.
-
queue_id(QueueId) –The queue ID for the queue connected to the task.
-
job_id(JobId) –The job ID of the job connected to the task.
-
step_id(StepId) –The step ID for the step connected to the task.
-
task_id(TaskId) –The task ID.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_deadline/_services/async_deadline.py
7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 | |