♻️ Use of relative imports for api modules

This commit is contained in:
2023-10-22 23:34:58 +02:00
parent 0a7337a313
commit 1bb75b28eb
11 changed files with 20 additions and 20 deletions

View File

@@ -1,8 +1,8 @@
from fastapi import APIRouter, HTTPException
from fastapi_cache.decorator import cache
from models import Line
from schemas import Line as LineSchema, TransportMode
from ..models import Line
from ..schemas import Line as LineSchema, TransportMode
router = APIRouter(prefix="/line", tags=["line"])