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

Support connexion 3.0 #164

Open
czchen opened this issue Nov 8, 2023 · 2 comments
Open

Support connexion 3.0 #164

czchen opened this issue Nov 8, 2023 · 2 comments

Comments

@czchen
Copy link

czchen commented Nov 8, 2023

connexion v3.0 has been released recently, and we found the following error when using it with prometheus_flask_exporter. Please help to update to support connexion v3.0.

> .../lib/python3.11/site-packages/prometheus_flask_exporter/__init__.py(718)func()
-> response = f(*args, **kwargs)
(Pdb) n
ModuleNotFoundError: No module named 'connexion.apis'
> .../lib/python3.11/site-packages/prometheus_flask_exporter/__init__.py(750)func()
-> response = self._response_converter(response)
@rycus86
Copy link
Owner

rycus86 commented Nov 8, 2023

Thanks for reporting!
Would you have a minimal example to reproduce this on?

@rycus86
Copy link
Owner

rycus86 commented Nov 27, 2023

I had a quick look at this but haven't figured out quickly how to test the latest Connexion with latest Flask, so an example to reproduce the problem on would be of great help here.

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

No branches or pull requests

2 participants