How taco-de/airflow-lab works
Project type and purpose
• From the file tree and README, this is an Airflow‐focused Python library / sample “lab” project.
• It provides a set of DAG factories (under dags/dag_factory), reuseable patterns (under module/airflow/pattern/factory), handlers (e.g., Slack notifications), and utility notifiers (Slack, Telegram).
• Its purpose is to demonstrate and package an extensible DAG‐generation framework and notification system for Airflow workflows.
File structure
• Top‐level files & dirs:
• dags/:
– dag_factory/*: sample DAG definitions using factory pattern.
– sample.py: example of a directly‐coded DAG.
• module/:
– airflow/: configuration (conf.py), handlers (handler/slack.py), patterns (pattern/factory/dag_factory.py).
– util/notifier: reusable notification modules (slack.py, telegram.py).
• tests/: unit tests.
• Configuration files: pyproject.toml, .pylintrc, .pre-commit-config.yaml, env.example.json.
• Architectural hints:
• DAG factory pattern under module/airflow/pattern.
• Handler abstraction in module/airflow/handler.
• Notification utilities decoupled under module/util/notifier.
README for additional insights
• Minimal content, but shows how to set PYTHONPATH so that module/ becomes importable.