atul-astronomer opened a new issue, #46958:
URL: https://github.com/apache/airflow/issues/46958

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Asset event should be created when user triggers a Dag which is defined 
using asset decorator.
   
   <img width="1548" alt="Image" 
src="https://github.com/user-attachments/assets/f8b31189-25c1-4938-8e9a-fd65dd4d1091";
 />
   
   <img width="1384" alt="Image" 
src="https://github.com/user-attachments/assets/4d58d2c5-c1fa-4872-b6c5-f3ec19572179";
 />
   
   <img width="899" alt="Image" 
src="https://github.com/user-attachments/assets/7cb3dd49-feb3-4062-a1c4-897df2e661f0";
 />
   
   ### What you think should happen instead?
   
   An asset event should be created since asset defined using asset decorator 
is outlet asset by default.
   
   ### How to reproduce
   
   Trigger the below Dag and check for asset events.
   
   ```python
   @asset(schedule=None)
   def asset_decorator():
       pass
   ``` 
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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