optimserverclientpython.TaskExecutionApi

All URIs are relative to https://dbos

Method HTTP request Description
get_task_execution GET /tasks/{taskId}/execution Gets all the jobs execution status for this task.

get_task_execution

TaskExecutionStatus get_task_execution(task_id)

Gets all the jobs execution status for this task.

This API retrieves the current Jobs execution status for this task.

Example

from __future__ import print_function
import time
import optimserverclientpython
from optimserverclientpython.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = optimserverclientpython.TaskExecutionApi()
task_id = 'task_id_example' # str | 

try:
    # Gets all the jobs execution status for this task.
    api_response = api_instance.get_task_execution(task_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TaskExecutionApi->get_task_execution: %s\n" % e)

Parameters

Name Type Description Notes
task_id str

Return type

TaskExecutionStatus

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]