remove config echo

This commit is contained in:
Waylon Walker 2023-06-02 16:02:20 -05:00
parent 15f7c998c7
commit b0872553bd
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -7,7 +7,6 @@ from sqlalchemy import create_engine
from sqlmodel import SQLModel, Session
from learn_sql_model.standard_config import load
from rich.console import Console
if TYPE_CHECKING:
from sqlalchemy import Engine
@ -92,5 +91,4 @@ def get_db(config: Config = None, reset_db_state=Depends(reset_db_state)):
def get_config(overrides: dict = {}) -> Config:
raw_config = load("learn_sql_model")
config = Config(**raw_config, **overrides)
Console().print('starting learn-sql-model api with config:', config)
return config