Skip to content

Conversation

conradstephens
Copy link

No description provided.

@conradstephens conradstephens linked an issue Jul 22, 2023 that may be closed by this pull request
@senior-dev-bot
Copy link

File: seniordev_demo/web/application.py:

Your constant version should be in uppercase as VERSION according to Python conventions. Also, it's good to keep constants in a separate constants.py file. This helps in better maintaining the codebase and makes it easier to manage and reuse constants.

# constants.py 
VERSION = "seniordev_demo"

# main file
from constants import VERSION
app = FastAPI(
    title=VERSION,
    version=metadata.version(VERSION),
    # remaining code
)

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.

Initial Test
1 participant