jyotsa09 opened a new issue, #26013: URL: https://github.com/apache/airflow/issues/26013
### Apache Airflow version main (development) ### What happened Schedule_interval is `none` even if `schedule_interval=timedelta(days=5)` also its 1 day for `schedule_interval=None` ### What you think should happen instead It should respect the value assigned to it. ### How to reproduce Create a dag with `schedule_interval=None` or `schedule_interval=timedelta(days=5)` and observe the behaviour.  **DAG-** ``` with DAG( dag_id="branch_python_operator", start_date=days_ago(1), schedule_interval="* * * * *", doc_md=docs, tags=['core'] ) as dag: ``` **DB Results-** ``` postgres=# select schedule_interval from dag where dag_id='branch_python_operator'; schedule_interval ------------------------------------------------------------------------------ {"type": "timedelta", "attrs": {"days": 1, "seconds": 0, "microseconds": 0}} (1 row) ``` ### Operating System Ubuntu ### Versions of Apache Airflow Providers _No response_ ### Deployment Astronomer ### 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]
