f
This commit is contained in:
9
.history/testfolder/testhello_20250904110130.py
Normal file
9
.history/testfolder/testhello_20250904110130.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
from airflow import DAG
|
||||||
|
from airflow.operators.python import PythonOperator
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
|
def hello():
|
||||||
|
print("Hello Airflow!")
|
||||||
|
|
||||||
|
with DAG("hello_world", start_date=datetime(2025, 9, 4), schedule_interval="@once") as dag:
|
||||||
|
t1 = PythonOperator(task_id="hello", python_callable=hello)
|
||||||
9
.history/testfolder/testhello_20250905160425.py
Normal file
9
.history/testfolder/testhello_20250905160425.py
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
from airflow import DAG
|
||||||
|
from airflow.operators.python import PythonOperator
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
|
def hello():
|
||||||
|
print("Hello Airflow!")
|
||||||
|
|
||||||
|
with DAG("hello_world_folder", start_date=datetime(2025, 9, 4), schedule_interval="@once") as dag:
|
||||||
|
t1 = PythonOperator(task_id="hello", python_callable=hello)
|
||||||
@@ -5,5 +5,5 @@ from datetime import datetime
|
|||||||
def hello():
|
def hello():
|
||||||
print("Hello Airflow!")
|
print("Hello Airflow!")
|
||||||
|
|
||||||
with DAG("hello_world", start_date=datetime(2025, 9, 4), schedule_interval="@once") as dag:
|
with DAG("hello_world_folder", start_date=datetime(2025, 9, 4), schedule_interval="@once") as dag:
|
||||||
t1 = PythonOperator(task_id="hello", python_callable=hello)
|
t1 = PythonOperator(task_id="hello", python_callable=hello)
|
||||||
Reference in New Issue
Block a user