Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-2616

Pluggable class-based views for APIs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: api

      Description

      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/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              verdan Verdan Mahmood
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: