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

pytest_plugin imports create_app from main #51

Open
ruscoder opened this issue Aug 12, 2023 · 2 comments
Open

pytest_plugin imports create_app from main #51

ruscoder opened this issue Aug 12, 2023 · 2 comments

Comments

@ruscoder
Copy link
Contributor

https://github.com/Aidbox/aidbox-python-sdk/blob/master/aidbox_python_sdk/pytest_plugin.py#L11

Was it done explicitly or by mistake?

Before the upgrade, it wasn't a problem to run tests on python 3.9 and old aidbox python SDK

@ruscoder
Copy link
Contributor Author

@ir4y @dmitryashutov ?

@ruscoder
Copy link
Contributor Author

ruscoder commented Aug 6, 2024

Workaround for gunicorn and pytest plugin

async def create_gunicorn_app():
    return create_app()

For Gunicorn use create_gunicorn_app

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

1 participant