connexion icon indicating copy to clipboard operation
connexion copied to clipboard

Explicitly support Flask async routes

Open RobbeSneyders opened this issue 2 years ago • 1 comments

Fixes #1529

Flask async routes were already supported due to the async logic used for aiohttp. This PR just makes it explicit by:

  • Installing Flask with the async extra.
    The additional asgiref dependency it adds is already a subdependency of connexion though, so in practice this has no effect.
  • Adding a test checking if async routes work

RobbeSneyders avatar Sep 19 '22 19:09 RobbeSneyders

Pull Request Test Coverage Report for Build 3085233174

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 95.219%

Totals Coverage Status
Change from base Build 3078058780: 0.5%
Covered Lines: 2868
Relevant Lines: 3012

💛 - Coveralls

coveralls avatar Sep 19 '22 20:09 coveralls