Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay import error for optional flask depencendy #1668

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

RobbeSneyders
Copy link
Member

@RobbeSneyders RobbeSneyders commented Mar 5, 2023

This PR delays import errors for the optional Flask dependency, so you can use the AsyncApp without Flask installed.

This issue is hidden in our tests since we install all extras. To prevent this, we need to address #1389.

@RobbeSneyders RobbeSneyders added this to the Connexion 3.0 milestone Mar 5, 2023
@coveralls
Copy link

Pull Request Test Coverage Report for Build 4337864876

  • 5 of 8 (62.5%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.08%) to 93.158%

Changes Missing Coverage Covered Lines Changed/Added Lines %
connexion/decorators/main.py 3 6 50.0%
Totals Coverage Status
Change from base Build 4321937364: -0.08%
Covered Lines: 3268
Relevant Lines: 3508

💛 - Coveralls

@RobbeSneyders RobbeSneyders merged commit 4383c53 into main Mar 6, 2023
@RobbeSneyders RobbeSneyders deleted the bugfix/optional-flask-install branch March 6, 2023 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants