Skip to content

Instantly share code, notes, and snippets.

@Egnod
Created December 10, 2020 18:50
Show Gist options
  • Save Egnod/c21d03ca9289f7b0d9762c6b5cdaaa59 to your computer and use it in GitHub Desktop.
Save Egnod/c21d03ca9289f7b0d9762c6b5cdaaa59 to your computer and use it in GitHub Desktop.
from superapp.config.database_settings import DBSettings
db_settings = DBSettings()
pprint(db_settings.dict())
# ->
# {
# "host": "testhost",
# "password": "testpassword",
# "port": 1234,
# "user": "testuser"
# }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment