Skip to content

Commit

Permalink
Allow geometry_type to be None at the type level to match documentati…
Browse files Browse the repository at this point in the history
…on (#500)
  • Loading branch information
logankaser authored Mar 30, 2024
1 parent 7fad428 commit 811af0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions geoalchemy2/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ class _GISType(UserDefinedType):

def __init__(
self,
geometry_type="GEOMETRY",
geometry_type: Optional[str] = "GEOMETRY",
srid=-1,
dimension=2,
spatial_index=True,
use_N_D_index=False,
use_typmod=None,
from_text=None,
name=None,
use_typmod: Optional[bool] = None,
from_text: Optional[str] = None,
name: Optional[str] = None,
nullable=True,
_spatial_index_reflected=None,
) -> None:
Expand Down

0 comments on commit 811af0b

Please sign in to comment.