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

Version issue with latest image #17

Open
nitrosx opened this issue Jun 24, 2022 · 0 comments
Open

Version issue with latest image #17

nitrosx opened this issue Jun 24, 2022 · 0 comments
Assignees

Comments

@nitrosx
Copy link
Collaborator

nitrosx commented Jun 24, 2022

When I deployed v1.0-beta-12 on our kubernets cluster, I get the following error from the application:

Traceback (most recent call last):
  File "/app/main.py", line 2, in <module>
    from app import app
  File "/app/app/app.py", line 12, in <module>
    app = FastAPI(
  File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 130, in __init__
    assert self.version, "A version must be provided for OpenAPI, e.g.: '2.1.0'"
AssertionError: A version must be provided for OpenAPI, e.g.: '2.1.0'

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