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

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Dag schedule is not visible to the user on dag details page if there is not 
run available.
   
   
![Image](https://github.com/user-attachments/assets/d3f44489-e65b-48a2-97fc-3f52fdd27d72)
   
![Image](https://github.com/user-attachments/assets/abdf9d8c-ae19-4963-9a69-afe68f4f4c12)
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Have the below Dag and check the schedule on dag list and dag details page.
   
   ```python
   asset_controller = Asset(name='asset_controller')
   
   with DAG(
       dag_id="test_asset_scheduled_controller",
       start_date=datetime.datetime.min,
       schedule='@daily',
       catchup=False,
       tags=["asset", "AIP-74"],
   ) as dag:
       @task(outlets=[asset_controller])
       def produce_dataset_events():
           pass
   
       produce_dataset_events()
   ``` 
   
   ### 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