Thanks Mike, yes you are right sharing the session can cause an issue I
already tried using something similar to the following code:
async def get_areas(geometry) -> List[Dict[str, Any]]:
sql = select(
models. GeoTable , func.ST_Intersection(models. GeoTable .geom,
geometry)
https://t.co/5Lt3blwBlH
--
SQLAlchemy -
The Python SQL Toolkit and Object Relational Mapper
http://www.sqlalchemy.org/
To post example code, please provide an MCVE: Minimal, Complete, and Verifiable
Example. See http://stackoverflow.com/help/mcve for a full description.
---
You received