airflow.providers.github.operators.github¶
Classes¶
Interact and perform actions on GitHub API. |
Module Contents¶
- class airflow.providers.github.operators.github.GithubOperator(*, github_method, github_conn_id='github_default', github_method_args=None, result_processor=None, **kwargs)[source]¶
Bases:
airflow.models.BaseOperator
Interact and perform actions on GitHub API.
This operator is designed to use GitHub’s Python SDK: https://github.com/PyGithub/PyGithub
See also
For more information on how to use this operator, take a look at the guide: Operators
- Parameters:
github_conn_id (str) – Reference to a pre-defined GitHub Connection
github_method (str) – Method name from GitHub Python SDK to be called
github_method_args (dict | None) – Method parameters for the github_method. (templated)
result_processor (Callable | None) – Function to further process the response from GitHub API