airflow.providers.git.hooks.git

属性

log

GitHook

用于 Git 仓库的钩子。

模块内容

airflow.providers.git.hooks.git.log[source]
class airflow.providers.git.hooks.git.GitHook(git_conn_id='git_default', repo_url=None, *args, **kwargs)[source]

基类: airflow.hooks.base.BaseHook

用于 Git 仓库的钩子。

参数:

git_conn_id (str) – 用于 SSH 连接到仓库的连接 ID

conn_name_attr = 'git_conn_id'[source]
default_conn_name = 'git_default'[source]
conn_type = 'git'[source]
hook_name = 'GIT'[source]
classmethod get_ui_field_behaviour()[source]
repo_url[source]
auth_token[source]
private_key[source]
key_file[source]
strict_host_key_checking[source]
env: dict[str, str][source]
set_git_env(key)[source]
configure_hook_env()[source]

此条目有用吗?