make a game

This commit is contained in:
Waylon Walker 2023-06-10 17:48:48 -05:00
parent 53d878c75a
commit dab0697f45
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
4 changed files with 227 additions and 11 deletions

View file

@ -81,7 +81,8 @@ def get_config(overrides: dict = {}) -> Config:
return config
def get_session(config: Config = None) -> "Session":
def get_session() -> "Session":
config = get_config()
with Session(config.database.engine) as session:
yield session