From f4c751a07d3597a14ef39cb5f0e4b44e74d2a1da Mon Sep 17 00:00:00 2001 From: Christian Heider Nielsen Date: Tue, 3 Oct 2023 22:41:53 +0200 Subject: [PATCH] airflow start --- draugr/__init__.py | 2 +- draugr/airflow_utilities/__init__.py | 1 + draugr/airflow_utilities/enums.py | 9 +++++++++ draugr/temporal_utilities/__init__.py | 0 samples/airflow_samples/docker_dag.py | 0 5 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 draugr/airflow_utilities/__init__.py create mode 100644 draugr/airflow_utilities/enums.py create mode 100644 draugr/temporal_utilities/__init__.py create mode 100644 samples/airflow_samples/docker_dag.py diff --git a/draugr/__init__.py b/draugr/__init__.py index 37b22506..04eaf58e 100644 --- a/draugr/__init__.py +++ b/draugr/__init__.py @@ -4,7 +4,7 @@ __project__ = "Draugr" __author__ = "Christian Heider Nielsen" -__version__ = "1.1.2" +__version__ = "1.1.3" __doc__ = r""" Created on 27/04/2019 diff --git a/draugr/airflow_utilities/__init__.py b/draugr/airflow_utilities/__init__.py new file mode 100644 index 00000000..b02681c9 --- /dev/null +++ b/draugr/airflow_utilities/__init__.py @@ -0,0 +1 @@ +from .enums import * diff --git a/draugr/airflow_utilities/enums.py b/draugr/airflow_utilities/enums.py new file mode 100644 index 00000000..b0670eaf --- /dev/null +++ b/draugr/airflow_utilities/enums.py @@ -0,0 +1,9 @@ +from enum import Enum +from sorcery import assigned_names + + +__all__ = ["AutoRemoveEnum"] + + +class AutoRemoveEnum(Enum): + never, success, force = assigned_names() diff --git a/draugr/temporal_utilities/__init__.py b/draugr/temporal_utilities/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/samples/airflow_samples/docker_dag.py b/samples/airflow_samples/docker_dag.py new file mode 100644 index 00000000..e69de29b