half-orm 0.18.2__tar.gz → 0.18.3__tar.gz
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.
- {half_orm-0.18.2/half_orm.egg-info → half_orm-0.18.3}/PKG-INFO +1 -1
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/model.py +4 -3
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/null.py +1 -1
- half_orm-0.18.3/half_orm/version.txt +1 -0
- {half_orm-0.18.2 → half_orm-0.18.3/half_orm.egg-info}/PKG-INFO +1 -1
- half_orm-0.18.2/half_orm/version.txt +0 -1
- {half_orm-0.18.2 → half_orm-0.18.3}/AUTHORS +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/LICENSE +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/README.md +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/__init__.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/__main__.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/cli.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/cli_utils.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/field.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/field_errors.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/fkey.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/hotest.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/model_errors.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/pg_meta.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/relation.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/relation_errors.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/relation_factory.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/sql_adapter.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/sql_ast.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/transaction.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm/utils.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm.egg-info/SOURCES.txt +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm.egg-info/dependency_links.txt +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm.egg-info/entry_points.txt +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm.egg-info/requires.txt +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/half_orm.egg-info/top_level.txt +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/pyproject.toml +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/setup.cfg +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/setup.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/test/test_cli.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/test/test_main.py +0 -0
- {half_orm-0.18.2 → half_orm-0.18.3}/test/test_sql_ast.py +0 -0
|
@@ -347,9 +347,10 @@ class Model:
|
|
|
347
347
|
v = v.value
|
|
348
348
|
if isinstance(v, Null):
|
|
349
349
|
return None
|
|
350
|
-
#
|
|
351
|
-
if isinstance(v, tuple):
|
|
352
|
-
|
|
350
|
+
# Recurse into lists/tuples (e.g. Field objects inside ANY() arrays)
|
|
351
|
+
if isinstance(v, (list, tuple)):
|
|
352
|
+
unwrapped = [_unwrap(item) for item in v]
|
|
353
|
+
return list(unwrapped)
|
|
353
354
|
return v
|
|
354
355
|
unwrapped = [_unwrap(v) for v in values]
|
|
355
356
|
return type(values)(unwrapped)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.18.3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.18.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|