You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "amarlearning (via GitHub)" <gi...@apache.org> on 2023/05/24 20:32:13 UTC

[GitHub] [airflow] amarlearning opened a new issue, #31525: Airflow exmaple DAG using `schedule` property instead of `schedule_interval`

amarlearning opened a new issue, #31525:
URL: https://github.com/apache/airflow/issues/31525

   ### What do you see as an issue?
   
   Tutorial DAG in the examples folder still uses the `schedule` property for DAG. I think it should be `schedule_interval`. I have seen similar issues in multiple places in the documentation.
   
   ### Solving the problem
   
   We need to update the code.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk commented on issue #31525: Airflow exmaple DAG using `schedule` property instead of `schedule_interval`

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #31525:
URL: https://github.com/apache/airflow/issues/31525#issuecomment-1561890475

   This is wrong. Schedule is now the default one and the others are deprecated. You should only use schedule.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk closed issue #31525: Airflow exmaple DAG using `schedule` property instead of `schedule_interval`

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #31525: Airflow exmaple DAG using `schedule` property instead of `schedule_interval`
URL: https://github.com/apache/airflow/issues/31525


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] eladkal commented on issue #31525: Airflow exmaple DAG using `schedule` property instead of `schedule_interval`

Posted by "eladkal (via GitHub)" <gi...@apache.org>.
eladkal commented on issue #31525:
URL: https://github.com/apache/airflow/issues/31525#issuecomment-1561891683

   `schedule_interval` is deprecated. `schedule` is the relevant parameter.
   If this is confusing to you then you are probably running older Airflow version and if so you should view the docs for the version you have. The `schedule` parameter appears only for version where it's avaiable.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] amarlearning commented on issue #31525: Airflow exmaple DAG using `schedule` property instead of `schedule_interval`

Posted by "amarlearning (via GitHub)" <gi...@apache.org>.
amarlearning commented on issue #31525:
URL: https://github.com/apache/airflow/issues/31525#issuecomment-1561902881

   @eladkal @potiuk you are right, my bad. I got confused between `2.3.4` and `2.4.3` 😅  


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk commented on issue #31525: Airflow exmaple DAG using `schedule` property instead of `schedule_interval`

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #31525:
URL: https://github.com/apache/airflow/issues/31525#issuecomment-1561903556

   Easy miss :) 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org