airflow.providers.github.hooks.github

This module allows to connect to a Github.

Module Contents

Classes

GithubHook

Interact with Github.

class airflow.providers.github.hooks.github.GithubHook(github_conn_id=default_conn_name, *args, **kwargs)[source]

Bases: airflow.hooks.base.BaseHook

Interact with Github.

Performs a connection to GitHub and retrieves client.

Parameters

github_conn_id (str) -- Reference to GitHub connection id.

conn_name_attr = github_conn_id[source]
default_conn_name = github_default[source]
conn_type = github[source]
hook_name = Github[source]
get_conn(self)[source]

Function that initiates a new GitHub connection with token and hostname ( for GitHub Enterprise )

static get_ui_field_behaviour()[source]

Returns custom field behaviour

Was this entry helpful?