airflow.providers.asana.operators.asana_tasks
¶
Module Contents¶
Classes¶
This operator can be used to create Asana tasks. |
|
This operator can be used to update Asana tasks. |
|
This operator can be used to delete Asana tasks. |
|
This operator can be used to retrieve Asana tasks that match various filters. |
- class airflow.providers.asana.operators.asana_tasks.AsanaCreateTaskOperator(*, conn_id, name, task_parameters=None, **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
This operator can be used to create Asana tasks.
See also
For more information on Asana optional task parameters: https://developers.asana.com/docs/create-a-task
See also
For more information on how to use this operator, take a look at the guide: AsanaCreateTaskOperator
- Parameters
conn_id (str) – The Asana connection to use.
name (str) – Name of the Asana task.
task_parameters (dict | None) – Any of the optional task creation parameters. See https://developers.asana.com/docs/create-a-task for a complete list. You must specify at least one of ‘workspace’, ‘parent’, or ‘projects’ either here or in the connection.
- class airflow.providers.asana.operators.asana_tasks.AsanaUpdateTaskOperator(*, conn_id, asana_task_gid, task_parameters, **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
This operator can be used to update Asana tasks.
See also
For more information on Asana optional task parameters: https://developers.asana.com/docs/update-a-task
See also
For more information on how to use this operator, take a look at the guide: AsanaUpdateTaskOperator
- Parameters
conn_id (str) – The Asana connection to use.
asana_task_gid (str) – Asana task ID to update
task_parameters (dict) – Any task parameters that should be updated. See https://developers.asana.com/docs/update-a-task for a complete list.
- class airflow.providers.asana.operators.asana_tasks.AsanaDeleteTaskOperator(*, conn_id, asana_task_gid, **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
This operator can be used to delete Asana tasks.
See also
For more information on how to use this operator, take a look at the guide: AsanaDeleteTaskOperator
- Parameters
- class airflow.providers.asana.operators.asana_tasks.AsanaFindTaskOperator(*, conn_id, search_parameters=None, **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
This operator can be used to retrieve Asana tasks that match various filters.
See also
For a list of possible filters: https://developers.asana.com/docs/update-a-task
See also
For more information on how to use this operator, take a look at the guide: AsanaFindTaskOperator
- Parameters