bolkedebruin commented on issue #50873:
URL: https://github.com/apache/airflow/issues/50873#issuecomment-2901001385

   Adding:
   
   ```
   from airflow.sdk import Asset, asset
   from airflow.sdk import DAG, dag, task
   
   write_example = Asset("write_example")
   
   #@asset(schedule=None)
   
   @dag
   def my_dag():
   
       @task
       def consume_csv(write_example):
           print("Bla")
   
   my_dag()
   ```
   
   This sets it as a schedule and a it is an inlet. However
   
   1. When triggering the Asset (write_example) this dag does not get kicked off
   2. It also does not become visible as "consumed" in the Asset
   
   I might be doing something unexpected `write_example = 
Asset("write_example")`, but how to do it otherwise?


-- 
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]

Reply via email to