GeoAlchemy2 0.17.0__py3-none-any.whl → 0.17.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: GeoAlchemy2
3
- Version: 0.17.0
3
+ Version: 0.17.1
4
4
  Summary: Using SQLAlchemy with Spatial Databases
5
5
  Home-page: https://geoalchemy-2.readthedocs.io/en/stable/
6
6
  Author: Eric Lemoine
@@ -1,12 +1,12 @@
1
1
  geoalchemy2/__init__.py,sha256=aGo3WcjOBcqrvqYXBuzCff1d_WiFUFObgtcyR11gg6M,2043
2
2
  geoalchemy2/_functions.py,sha256=e8v584Fx_fmh8XnJvkuYEXrcyPDiWV95Mu2yw6L-LHY,62863
3
- geoalchemy2/_functions_helpers.py,sha256=hVM9DDTgf-oM27EZu6ycW1y2ENnSxUJixdINetWsu0E,2651
4
- geoalchemy2/alembic_helpers.py,sha256=WYjKiVVyHtlB4DI22z-G0-x8NnG8othAINUwmxBCMcs,27885
3
+ geoalchemy2/_functions_helpers.py,sha256=V_e58pX6aalDD3HeECZbUen__2vHhEhMZty2qIZSBGA,2680
4
+ geoalchemy2/alembic_helpers.py,sha256=3U0Co-VdkkZ44MaRDG-ukN93dRk6qWDz2BOgcEOpTl4,27906
5
5
  geoalchemy2/comparator.py,sha256=WUDXn10doDlJVnYiWbVIAhhBu7N5AO9BI8sNf2mhpA4,8100
6
6
  geoalchemy2/elements.py,sha256=5yd_7dUQGbrLvgYvo6A2YYAFwTvP4_BskIdBCB0DrlM,13002
7
7
  geoalchemy2/exc.py,sha256=Nn9bRKB_35skWDMkEf4_Y2GL6gvguPVycPZcbOfa69g,226
8
- geoalchemy2/functions.py,sha256=0he8hy_SAWpXAFPdfg32NMW5G0FaZP7yVl0jn0MRLBQ,10320
9
- geoalchemy2/functions.pyi,sha256=rKCKdDSVTgeUQHItkOKqJSEuyKmVJ30bpjLpCPwMI5g,108636
8
+ geoalchemy2/functions.py,sha256=8VzEoE1jANlOmWM4Y6i8eGPwYSwRMLZLulqpyyCgkMs,10375
9
+ geoalchemy2/functions.pyi,sha256=bQUzlBCuJXGiDVPHKwGCO5tDYH5KRYxgnERGn37BVn8,108665
10
10
  geoalchemy2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  geoalchemy2/shape.py,sha256=TLeWa6NwXZqBxh3Zj-l96wBB5kPviEhnZ44kyr8v678,2735
12
12
  geoalchemy2/utils.py,sha256=OYWYnT64tjp4DWhPdq3KIxHbVti932xPMtGGxajtu-I,488
@@ -27,9 +27,9 @@ geoalchemy2/types/dialects/mariadb.py,sha256=tPZpfj95XlVSOm8zC52iFbqVrIOdj-EDH5K
27
27
  geoalchemy2/types/dialects/mysql.py,sha256=zMNi1920v0XlVaCJWSwtq0b0P5YQRn8y3X_rBxC5KEw,1790
28
28
  geoalchemy2/types/dialects/postgresql.py,sha256=7NBKEbDJXMwX8Sgs6o_N2bAUHgjUcjbrdmYOA7sDiRw,1117
29
29
  geoalchemy2/types/dialects/sqlite.py,sha256=B-yLzaQcqL_4dXoOPX9D9IXw2ZQlq-Tibv_kqUIBeb4,2104
30
- GeoAlchemy2-0.17.0.dist-info/COPYING.rst,sha256=-bQKftq9uMOROzF7oN65kYBBIJKxTmBuDoftp27IC3I,1056
31
- GeoAlchemy2-0.17.0.dist-info/METADATA,sha256=mc9wg4zIYUEuRbFYELFA4LygDIo6hKXdM9CDR-KyHQo,2327
32
- GeoAlchemy2-0.17.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
33
- GeoAlchemy2-0.17.0.dist-info/entry_points.txt,sha256=izFHecGE8cNV6IjoLkc0uEmKH13rYbbvozc4fEwRl6Y,70
34
- GeoAlchemy2-0.17.0.dist-info/top_level.txt,sha256=3kGUTcfBeXd61zFpof6-qiuw1peNF_HuZabgHQgrdis,12
35
- GeoAlchemy2-0.17.0.dist-info/RECORD,,
30
+ GeoAlchemy2-0.17.1.dist-info/COPYING.rst,sha256=-bQKftq9uMOROzF7oN65kYBBIJKxTmBuDoftp27IC3I,1056
31
+ GeoAlchemy2-0.17.1.dist-info/METADATA,sha256=MWAit1vb7ST4fMZOE0nkxAXMDMGyfAsLFZNLumLynGo,2327
32
+ GeoAlchemy2-0.17.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
33
+ GeoAlchemy2-0.17.1.dist-info/entry_points.txt,sha256=izFHecGE8cNV6IjoLkc0uEmKH13rYbbvozc4fEwRl6Y,70
34
+ GeoAlchemy2-0.17.1.dist-info/top_level.txt,sha256=3kGUTcfBeXd61zFpof6-qiuw1peNF_HuZabgHQgrdis,12
35
+ GeoAlchemy2-0.17.1.dist-info/RECORD,,
@@ -50,6 +50,7 @@ from typing import List
50
50
 
51
51
  from sqlalchemy.sql import functions
52
52
  from sqlalchemy.sql.elements import ColumnElement
53
+ from sqlalchemy.sql.selectable import FromClause
53
54
 
54
55
  import geoalchemy2.types
55
56
 
@@ -60,8 +61,8 @@ class TableRowElement(ColumnElement):
60
61
  """The cache is disabled for this class."""
61
62
 
62
63
  def __init__(self, selectable: bool) -> None: ...
63
- @property # type: ignore[override]
64
- def _from_objects(self) -> List[bool]: ...
64
+ @property
65
+ def _from_objects(self) -> List[FromClause]: ...
65
66
  '''
66
67
  stub_file_parts = [header]
67
68
 
@@ -535,6 +535,7 @@ def create_geo_table(context, revision, op):
535
535
  schema=op.schema,
536
536
  _namespace_metadata=op._namespace_metadata,
537
537
  _constraints_included=op._constraints_included,
538
+ **op.kw,
538
539
  )
539
540
  else:
540
541
  new_op = op
geoalchemy2/functions.py CHANGED
@@ -76,6 +76,7 @@ from sqlalchemy.ext.compiler import compiles
76
76
  from sqlalchemy.sql import annotation
77
77
  from sqlalchemy.sql import functions
78
78
  from sqlalchemy.sql.elements import ColumnElement
79
+ from sqlalchemy.sql.selectable import FromClause
79
80
 
80
81
  from geoalchemy2 import elements
81
82
  from geoalchemy2._functions import _FUNCTIONS
@@ -138,7 +139,7 @@ class TableRowElement(ColumnElement):
138
139
  self.selectable = selectable
139
140
 
140
141
  @property
141
- def _from_objects(self) -> List[bool]:
142
+ def _from_objects(self) -> List[FromClause]:
142
143
  return [self.selectable]
143
144
 
144
145
 
geoalchemy2/functions.pyi CHANGED
@@ -3,6 +3,7 @@ from typing import List
3
3
 
4
4
  from sqlalchemy.sql import functions
5
5
  from sqlalchemy.sql.elements import ColumnElement
6
+ from sqlalchemy.sql.selectable import FromClause
6
7
 
7
8
  import geoalchemy2.types
8
9
 
@@ -13,8 +14,8 @@ class TableRowElement(ColumnElement):
13
14
  """The cache is disabled for this class."""
14
15
 
15
16
  def __init__(self, selectable: bool) -> None: ...
16
- @property # type: ignore[override]
17
- def _from_objects(self) -> List[bool]: ...
17
+ @property
18
+ def _from_objects(self) -> List[FromClause]: ...
18
19
 
19
20
  class ST_AsGeoJSON(GenericFunction):
20
21
  """