diff --git a/dags/my_dag.py b/dags/my_dag.py index 0e0a459..e970601 100644 --- a/dags/my_dag.py +++ b/dags/my_dag.py @@ -5,10 +5,12 @@ from airflow.operators.bash import BashOperator class MyDAG(DAG): def __init__(self, *args, **kwargs): + print('SUCCESS') super().__init__( *args, **kwargs ) BashOperator( task_id='install_required', bash_command='pip install -I -r requirements.txt -i https://repo.fangjia.com/repository/pypi-public/simple/', - ) \ No newline at end of file + ) + print('OK') \ No newline at end of file