[
https://issues.apache.org/jira/browse/AIRFLOW-3007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024378#comment-17024378
]
Matjaž Mav commented on AIRFLOW-3007:
-------------------------------------
[~kaxilnaik] Does this fixes annoying warning message on every command?
Example:
{{$ airflow version}}
{{[2020-01-27 14:26:28,431] \{models.py:2450} WARNING - schedule_interval is
used for <Task(DummyOperator): dummy_task_1>, though it has been deprecated as
a task parameter, you need to specify it as a DAG parameter instead}}
{{[2020-01-27 14:26:28,432] \{models.py:2450} WARNING - schedule_interval is
used for <Task(DummyOperator): dummy_task_2>, though it has been deprecated as
a task parameter, you need to specify it as a DAG parameter instead}}
{{ ____________ _____________}}
{{ ____ |__( )_________ __/__ /________ __}}
{{____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /}}
{{___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /}}
{{ _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/}}
{{ v1.10.1}}
> Scheduler docs use deprecated use of `schedule_interval`
> ---------------------------------------------------------
>
> Key: AIRFLOW-3007
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3007
> Project: Apache Airflow
> Issue Type: Improvement
> Components: documentation
> Reporter: Kaxil Naik
> Assignee: Kaxil Naik
> Priority: Minor
> Fix For: 2.0.0
>
> Attachments: screenshot-1.png
>
>
> The scheduler docs at
> https://airflow.apache.org/scheduler.html#backfill-and-catchup use deprecated
> way of passing {{schedule_interval}} . {{schedule_interval}} should be pass
> to DAG as a separate parameter and not as a default arg.
> !screenshot-1.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)