01: Initial commit with neo4j
This commit is contained in:
6
app/schemas/location_request.py
Normal file
6
app/schemas/location_request.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
class NearestAssetRequest(BaseModel):
|
||||
|
||||
lat: float = Field(..., ge=-90, le=90, example=34.01544)
|
||||
lng: float = Field(..., ge=-180, le=180, example=-118.2201)
|
||||
Reference in New Issue
Block a user