Upgrade to psycopg3

This commit is contained in:
phil 2024-03-18 12:42:10 +05:30
parent 15fe7fab08
commit fda099a8b8
4 changed files with 13 additions and 32 deletions

View file

@ -1 +1 @@
__version__: str = '2023.4.dev37+gb00bf1f.d20240226'
__version__: str = '2023.4.dev51+g15fe7fa.d20240318'

View file

@ -19,7 +19,7 @@ from sqlmodel.ext.asyncio.session import AsyncSession
from sqlalchemy import BigInteger, String, func, and_, text
from sqlalchemy.sql import sqltypes
from sqlalchemy.orm import declared_attr
from psycopg2.extensions import adapt
from psycopg import adapt
from geoalchemy2.shape import from_shape
from geoalchemy2.types import Geometry, WKBElement
from shapely import wkb, from_wkb