Skip to content

Commit

Permalink
Merge pull request #70 from airflow-laminar/tkp/suppyd
Browse files Browse the repository at this point in the history
Move to supervisor-pydantic
  • Loading branch information
timkpaine authored Feb 9, 2025
2 parents 1b8685d + 99f94cc commit 99e357d
Show file tree
Hide file tree
Showing 61 changed files with 76 additions and 2,279 deletions.
3 changes: 2 additions & 1 deletion airflow_supervisor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from supervisor_pydantic import *

from .airflow import *
from .client import *
from .config import *

__version__ = "1.1.1"
2 changes: 0 additions & 2 deletions airflow_supervisor/airflow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from .commands import *
from .common import SupervisorTaskStep
from .local import *

try:
Expand Down
4 changes: 0 additions & 4 deletions airflow_supervisor/airflow/__main__.py

This file was deleted.

301 changes: 0 additions & 301 deletions airflow_supervisor/airflow/commands.py

This file was deleted.

21 changes: 2 additions & 19 deletions airflow_supervisor/airflow/common.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,8 @@
from typing import Literal

SupervisorTaskStep = Literal[
"configure-supervisor",
"start-supervisor",
"start-programs",
"stop-programs",
"check-programs",
"restart-programs",
"stop-supervisor",
"unconfigure-supervisor",
"force-kill",
]
from airflow.exceptions import AirflowSkipException


def skip_():
from airflow.exceptions import AirflowSkipException

raise AirflowSkipException


__all__ = (
"SupervisorTaskStep",
"skip_",
)
__all__ = ("skip_",)
Loading

0 comments on commit 99e357d

Please sign in to comment.