Skip to content

Commit

Permalink
(feat) add accounts router back
Browse files Browse the repository at this point in the history
  • Loading branch information
cardosofede committed Nov 26, 2024
1 parent cb564f0 commit 6c70c3c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,16 @@
from fastapi import Depends, FastAPI, HTTPException, status
from fastapi.security import HTTPBasic, HTTPBasicCredentials

from routers import manage_accounts, manage_backtesting, manage_broker_messages, manage_docker, manage_files, \
manage_market_data, manage_databases, manage_performance
from routers import (
manage_accounts,
manage_backtesting,
manage_broker_messages,
manage_databases,
manage_docker,
manage_files,
manage_market_data,
manage_performance,
)

load_dotenv()
security = HTTPBasic()
Expand Down Expand Up @@ -47,3 +55,4 @@ def auth_user(
app.include_router(manage_backtesting.router, dependencies=[Depends(auth_user)])
app.include_router(manage_databases.router, dependencies=[Depends(auth_user)])
app.include_router(manage_performance.router, dependencies=[Depends(auth_user)])
app.include_router(manage_accounts.router, dependencies=[Depends(auth_user)])

0 comments on commit 6c70c3c

Please sign in to comment.