don't print users
This commit is contained in:
parent
fa4c2e45ab
commit
ecafbbedd8
1 changed files with 1 additions and 5 deletions
|
@ -13,7 +13,7 @@ import uvicorn
|
|||
from fastapi import FastAPI
|
||||
|
||||
from .config import SETTINGS, Config
|
||||
from .db import Connection, User
|
||||
from .db import Connection
|
||||
from .routers import main_router
|
||||
|
||||
app = FastAPI(
|
||||
|
@ -42,10 +42,6 @@ async def on_startup() -> None:
|
|||
# connect to database
|
||||
Connection.connect(current_config.db.uri)
|
||||
|
||||
# some testing
|
||||
print(User.get("admin"))
|
||||
print(User.get("nonexistent"))
|
||||
|
||||
|
||||
def main() -> None:
|
||||
uvicorn.run(
|
||||
|
|
Loading…
Reference in a new issue