[ 
https://issues.apache.org/jira/browse/AIRFLOW-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458349#comment-16458349
 ] 

ASF subversion and git services commented on AIRFLOW-2390:
----------------------------------------------------------

Commit ae48fce9b097e48f09b3b8829b3b80dea21c58e9 in incubator-airflow's branch 
refs/heads/master from [~kaxilnaik]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=ae48fce ]

[AIRFLOW-2390] Resolve FlaskWTFDeprecationWarning

- Replace soon to be deprecated `flask_wtf.Form`
class with `from flask_wtf import FlaskForm`

Closes #3278 from kaxil/AIRFLOW-2390


> FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-2390
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2390
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: webserver
>    Affects Versions: 1.9.0
>            Reporter: Chris Bandy
>            Assignee: Kaxil Naik
>            Priority: Trivial
>             Fix For: 1.10.0
>
>
> Webserver complains about Flask deprecation:
> {noformat}
> /usr/local/lib/python3.5/dist-packages/airflow/www/views.py:661: 
> FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" 
> and will be removed in 1.0.
> form = DateTimeForm(data={'execution_date': dttm}){noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to