This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fastapi import FastAPI | |
from pydantic import BaseModel, validator, BaseConfig | |
from geoalchemy2 import WKTElement | |
from geoalchemy2.shape import to_shape | |
"""Minimum working example snippet for handling lat lng coordinates and geometry types using Fastapi""" | |
app = FastAPI() | |
NewerOlder