lets move stuff to a file that actually exists
This commit is contained in:
parent
37507e65ab
commit
d0b26cb67b
2 changed files with 3 additions and 3 deletions
|
@ -9,9 +9,8 @@ from c3nav.api.auth import auth_responses
|
|||
from c3nav.mapdata.models.access import AccessPermission
|
||||
from c3nav.mapdata.schemas.models import CustomLocationSchema
|
||||
from c3nav.mapdata.utils.cache.stats import increment_cache_key
|
||||
from c3nav.routing.api.schemas import BSSIDSchema
|
||||
from c3nav.routing.locator import Locator
|
||||
from c3nav.routing.schemas import LocateRequestPeerSchema
|
||||
from c3nav.routing.schemas import BSSIDSchema, LocateRequestPeerSchema
|
||||
|
||||
positioning_api_router = APIRouter(tags=["positioning"])
|
||||
|
||||
|
|
|
@ -5,7 +5,8 @@ from pydantic import Field as APIField
|
|||
from pydantic import NegativeInt, PositiveInt
|
||||
|
||||
from c3nav.api.utils import NonEmptyStr
|
||||
from c3nav.routing.api.schemas import BSSIDSchema
|
||||
|
||||
BSSIDSchema = Annotated[str, APIField(pattern=r"^[a-z0-9]{2}(:[a-z0-9]{2}){5}$", title="BSSID")]
|
||||
|
||||
|
||||
class LocateRequestPeerSchema(Schema):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue