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

Apache Spark commented on AIRFLOW-2616:
---------------------------------------

User 'verdan' has created a pull request for this issue:
https://github.com/apache/incubator-airflow/pull/3520

> Pluggable class-based views for APIs
> ------------------------------------
>
>                 Key: AIRFLOW-2616
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2616
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: api
>            Reporter: Verdan Mahmood
>            Priority: Major
>              Labels: api_endpoints, architecture
>
> With the increase of API code base, the current architecture (functional 
> views) will become messy in no time. Same routes with different http methods 
> become more confusing in the code base. 
> We can either use Flask's Pluggable views, which are inspired by Django's 
> generic class-based views to make our API structure more modular, or we can 
> look for Flask-RESTful framework. 
>  
> http://flask.pocoo.org/docs/0.12/views/



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

Reply via email to