make a game
This commit is contained in:
parent
53d878c75a
commit
dab0697f45
4 changed files with 227 additions and 11 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue