SQLAlchemy 2.0.33__py3-none-any.whl → 2.0.34__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.
- {SQLAlchemy-2.0.33.dist-info → SQLAlchemy-2.0.34.dist-info}/METADATA +1 -1
- {SQLAlchemy-2.0.33.dist-info → SQLAlchemy-2.0.34.dist-info}/RECORD +8 -8
- sqlalchemy/__init__.py +1 -1
- sqlalchemy/dialects/sqlite/base.py +1 -1
- sqlalchemy/util/typing.py +4 -3
- {SQLAlchemy-2.0.33.dist-info → SQLAlchemy-2.0.34.dist-info}/LICENSE +0 -0
- {SQLAlchemy-2.0.33.dist-info → SQLAlchemy-2.0.34.dist-info}/WHEEL +0 -0
- {SQLAlchemy-2.0.33.dist-info → SQLAlchemy-2.0.34.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sqlalchemy/__init__.py,sha256=
|
|
1
|
+
sqlalchemy/__init__.py,sha256=kW5kNSOI0cHm2Ioc_-ahxqHWmCDAWb_iqZZJsMYrKMU,13033
|
|
2
2
|
sqlalchemy/events.py,sha256=k-ZD38aSPD29LYhED7CBqttp5MDVVx_YSaWC2-cu9ec,525
|
|
3
3
|
sqlalchemy/exc.py,sha256=M_8-O1hd8i6gbyx-TapV400p_Lxq2QqTGMXUAO-YgCc,23976
|
|
4
4
|
sqlalchemy/inspection.py,sha256=MF-LE358wZDUEl1IH8-Uwt2HI65EsQpQW5o5udHkZwA,5063
|
|
@@ -75,7 +75,7 @@ sqlalchemy/dialects/postgresql/ranges.py,sha256=6CgV7qkxEMJ9AQsiibo_XBLJYzGh-2Zx
|
|
|
75
75
|
sqlalchemy/dialects/postgresql/types.py,sha256=Jfxqw9JaKNOq29JRWBublywgb3lLMyzx8YZI7CXpS2s,7300
|
|
76
76
|
sqlalchemy/dialects/sqlite/__init__.py,sha256=lp9DIggNn349M-7IYhUA8et8--e8FRExWD2V_r1LJk4,1182
|
|
77
77
|
sqlalchemy/dialects/sqlite/aiosqlite.py,sha256=g3qGV6jmiXabWyb3282g_Nmxtj1jThxGSe9C9yalb-U,12345
|
|
78
|
-
sqlalchemy/dialects/sqlite/base.py,sha256=
|
|
78
|
+
sqlalchemy/dialects/sqlite/base.py,sha256=i1LolkwQLI86l_YwEpiIfN5Lh469H1mairKdmTxa9k4,99832
|
|
79
79
|
sqlalchemy/dialects/sqlite/dml.py,sha256=9GE55WvwoktKy2fHeT-Wbc9xPHgsbh5oBfd_fckMH5Q,8443
|
|
80
80
|
sqlalchemy/dialects/sqlite/json.py,sha256=Eoplbb_4dYlfrtmQaI8Xddd2suAIHA-IdbDQYM-LIhs,2777
|
|
81
81
|
sqlalchemy/dialects/sqlite/provision.py,sha256=UCpmwxf4IWlrpb2eLHGbPTpCFVbdI_KAh2mKtjiLYao,5632
|
|
@@ -260,9 +260,9 @@ sqlalchemy/util/preloaded.py,sha256=az7NmLJLsqs0mtM9uBkIu10-841RYDq8wOyqJ7xXvqE,
|
|
|
260
260
|
sqlalchemy/util/queue.py,sha256=CaeSEaYZ57YwtmLdNdOIjT5PK_LCuwMFiO0mpp39ybM,10185
|
|
261
261
|
sqlalchemy/util/tool_support.py,sha256=9braZyidaiNrZVsWtGmkSmus50-byhuYrlAqvhjcmnA,6135
|
|
262
262
|
sqlalchemy/util/topological.py,sha256=N3M3Le7KzGHCmqPGg0ZBqixTDGwmFLhOZvBtc4rHL_g,3458
|
|
263
|
-
sqlalchemy/util/typing.py,sha256=
|
|
264
|
-
SQLAlchemy-2.0.
|
|
265
|
-
SQLAlchemy-2.0.
|
|
266
|
-
SQLAlchemy-2.0.
|
|
267
|
-
SQLAlchemy-2.0.
|
|
268
|
-
SQLAlchemy-2.0.
|
|
263
|
+
sqlalchemy/util/typing.py,sha256=VUVyYOXmPPlAW9e8OuVQ55Ij4b6jc0GPDEjY-Rlpnwo,17961
|
|
264
|
+
SQLAlchemy-2.0.34.dist-info/LICENSE,sha256=PA9Zq4h9BB3mpOUv_j6e212VIt6Qn66abNettue-MpM,1100
|
|
265
|
+
SQLAlchemy-2.0.34.dist-info/METADATA,sha256=TdwTMOhRN3N7sdV1_zHpx9GCBE_dm2jeU9_9UMTGYM8,9632
|
|
266
|
+
SQLAlchemy-2.0.34.dist-info/WHEEL,sha256=uCRv0ZEik_232NlR4YDw4Pv3Ajt5bKvMH13NUU7hFuI,91
|
|
267
|
+
SQLAlchemy-2.0.34.dist-info/top_level.txt,sha256=rp-ZgB7D8G11ivXON5VGPjupT1voYmWqkciDt5Uaw_Q,11
|
|
268
|
+
SQLAlchemy-2.0.34.dist-info/RECORD,,
|
sqlalchemy/__init__.py
CHANGED
|
@@ -2674,7 +2674,7 @@ class SQLiteDialect(default.DefaultDialect):
|
|
|
2674
2674
|
# (1) Matches end of check constraint with trailing comma,
|
|
2675
2675
|
# optional whitespace (including newline), and the beginning
|
|
2676
2676
|
# of the next constraint (either named or unnamed).
|
|
2677
|
-
,[\s\n]*(?=CONSTRAINT|CHECK)
|
|
2677
|
+
,[\s\n]*(?=CONSTRAINT|CHECK|UNIQUE|FOREIGN|PRIMARY)
|
|
2678
2678
|
# OR operator, seperating (1) & (2)
|
|
2679
2679
|
|
|
|
2680
2680
|
# (2) Matches end parenthesis of table definition, seperated by
|
sqlalchemy/util/typing.py
CHANGED
|
@@ -199,9 +199,10 @@ def fixup_container_fwd_refs(
|
|
|
199
199
|
and similar for list, set
|
|
200
200
|
|
|
201
201
|
"""
|
|
202
|
+
|
|
202
203
|
if (
|
|
203
204
|
is_generic(type_)
|
|
204
|
-
and type_
|
|
205
|
+
and typing_get_origin(type_)
|
|
205
206
|
in (
|
|
206
207
|
dict,
|
|
207
208
|
set,
|
|
@@ -221,11 +222,11 @@ def fixup_container_fwd_refs(
|
|
|
221
222
|
)
|
|
222
223
|
):
|
|
223
224
|
# compat with py3.10 and earlier
|
|
224
|
-
return type_.
|
|
225
|
+
return typing_get_origin(type_).__class_getitem__( # type: ignore
|
|
225
226
|
tuple(
|
|
226
227
|
[
|
|
227
228
|
ForwardRef(elem) if isinstance(elem, str) else elem
|
|
228
|
-
for elem in type_
|
|
229
|
+
for elem in typing_get_args(type_)
|
|
229
230
|
]
|
|
230
231
|
)
|
|
231
232
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|