Skip to content

Instantly share code, notes, and snippets.

@amywieliczka
Created January 28, 2026 23:04
Show Gist options
  • Select an option

  • Save amywieliczka/3b18caf56d2031c1b847fcf33124fa1c to your computer and use it in GitHub Desktop.

Select an option

Save amywieliczka/3b18caf56d2031c1b847fcf33124fa1c to your computer and use it in GitHub Desktop.
Testing Git Dag Bundle Env Var
"""A sample DAG."""
# Python imports
from datetime import datetime, timedelta
# Airflow imports.
from airflow import DAG
from airflow.decorators import task
with DAG(
dag_id="git_world_dag",
schedule=timedelta(minutes=1),
dagrun_timeout=timedelta(minutes=5),
start_date=datetime(2024, 1, 1),
catchup=False,
is_paused_upon_creation=True,
) as dag:
@task(task_id="print_task")
def git_world() -> None:
"""print_task prints a Git World message."""
print("Git World!")
git_world()
if __name__ == "__main__":
dag.cli()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment