Importing RJSF lib with first application
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
from contextlib import asynccontextmanager
|
||||
|
||||
from fastapi import FastAPI
|
||||
|
||||
from hub import init_db as hub_init_db
|
||||
from hub.db import init_db as hub_init_db
|
||||
from hub.auth import auth_router, register_router, password_router, verification_router, users_router, \
|
||||
google_oauth_router, discord_oauth_router
|
||||
from hub.firm.routes import router as firm_router
|
||||
|
||||
if __name__ == '__main__':
|
||||
import uvicorn
|
||||
@@ -28,3 +28,4 @@ app.include_router(discord_oauth_router, prefix="/auth/discord", tags=["Auth"])
|
||||
app.include_router(verification_router, prefix="/auth/verification", tags=["Auth"], )
|
||||
app.include_router(users_router, prefix="/users", tags=["Users"], )
|
||||
app.include_router(password_router, prefix="/users", tags=["Users"], )
|
||||
app.include_router(firm_router, prefix="/firms", tags=["Firms"], )
|
||||
|
||||
Reference in New Issue
Block a user