TJaniF commented on issue #48711:
URL: https://github.com/apache/airflow/issues/48711#issuecomment-2773735382
EDIT: getting the same error with:
```
from airflow.sdk import dag, Asset
from airflow.decorators import task
@dag(schedule="@daily") # A
def extracted_data(): # B
@task(outlets=[Asset("extracted_data")]) # C
def my_task():
print("Hello World")
my_task()
extracted_data()
@dag(schedule=[Asset("extracted_data")]) # D
def transformed_data():
@task(outlets=[Asset("transformed_data")]) # C
def my_task():
print("Hello World")
my_task()
transformed_data()
@dag(schedule=[Asset("transformed_data")]) # D
def loaded_data():
@task(outlets=[Asset("loaded_data")]) # C
def my_task():
print("Hello World")
my_task()
loaded_data()
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]