Tasks processing description¶
- class luna_api.app.handlers.tasks_create_task_handler.CreateTaskHandler(*args, **kwargs)[source]
Proxy create tasks handler. See spec_tasks_processing.
- checkEstimatorTaskMatchingFilters()[source]
Check matching filters account id for estimator task
- async prepareRequestPost()[source]
Prepare post request
- class luna_api.app.handlers.tasks_proxy_handler.TaskErrorProxyHandler(*args, **kwargs)[source]
Proxy task result handler. See spec_get_task_errors.
- class luna_api.app.handlers.tasks_proxy_handler.TaskNotificationHandler(*args, **kwargs)[source]
Proxy task notification policy handler. See spec_tasks-notification-policy.
- class luna_api.app.handlers.tasks_proxy_handler.TaskProxyHandler(*args, **kwargs)[source]
Proxy task handler.
- GET:
- See spec_get_task.
- PATCH:
- See spec_cancel_task.
- DELETE:
- See spec_delete_task.
- class luna_api.app.handlers.tasks_proxy_handler.TaskResultProxyHandler(*args, **kwargs)[source]
Proxy task result handler. See spec_get_task_result.
- async get(taskId)[source]
Proxy request with GET method to luna-tasks. See spec_get_task_result.
- class luna_api.app.handlers.tasks_proxy_handler.TaskSubTaskProxyHandler(*args, **kwargs)[source]
Proxy task result handler. See spec_get_task_sub_tasks.
- class luna_api.app.handlers.tasks_proxy_handler.TasksCountProxyHandler(*args, **kwargs)[source]
Proxy tasks count handler. See spec_get_tasks_count.
- class luna_api.app.handlers.tasks_proxy_handler.TasksErrorProxyHandler(*args, **kwargs)[source]
Proxy task handler. See spec_tasks_error.
- class luna_api.app.handlers.tasks_proxy_handler.TasksErrorsCountProxyHandler(*args, **kwargs)[source]
Proxy task handler. See spec_tasks_errors_count.
- class luna_api.app.handlers.tasks_proxy_handler.TasksErrorsProxyHandler(*args, **kwargs)[source]
Proxy task handler. See spec_tasks_errors.
- class luna_api.app.handlers.tasks_proxy_handler.TasksProxyHandler(*args, **kwargs)[source]
Proxy tasks handler.See spec_get_tasks.
See Luna Tasks developer manual for more information.