router import path

This commit is contained in:
Jörn-Michael Miehe 2022-09-19 09:35:18 +00:00
parent 445abccd73
commit 00d17ee71f
3 changed files with 6 additions and 5 deletions

View file

@ -11,7 +11,7 @@ from fastapi.middleware.cors import CORSMiddleware
from fastapi.staticfiles import StaticFiles
from .dav_common import webdav_check
from .routers.v1 import router as v1_router
from .routers import v1_router
from .settings import SETTINGS
app = FastAPI(

View file

@ -0,0 +1,5 @@
from .v1 import router as v1_router
__all__ = [
"v1_router",
]

View file

@ -19,7 +19,3 @@ router.include_router(file.router)
router.include_router(calendar.router)
router.include_router(aggregate.router)
__all__ = [
"router",
]