Add dags/soosoo/rbac_test_2.py
This commit is contained in:
parent
79adda5e67
commit
a2f3907c8e
18
dags/soosoo/rbac_test_2.py
Normal file
18
dags/soosoo/rbac_test_2.py
Normal file
@ -0,0 +1,18 @@
|
||||
from datetime import datetime
|
||||
from airflow import DAG
|
||||
from airflow.operators.python import PythonOperator
|
||||
|
||||
def print_test():
|
||||
print('Hello World')
|
||||
|
||||
with DAG(
|
||||
dag_id='rbac_test_2',
|
||||
default_args={'retries': 1},
|
||||
schedule='@once',
|
||||
start_date=datetime(2025, 8, 11),
|
||||
catchup=False
|
||||
) as dag:
|
||||
t1 = PythonOperator(
|
||||
task_id='rbac_test_2',
|
||||
python_callable=print_test,
|
||||
)
|
||||
Loading…
Reference in New Issue
Block a user