moose-lib 0.4.192__tar.gz → 0.4.193__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.
- {moose_lib-0.4.192 → moose_lib-0.4.193}/PKG-INFO +1 -1
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/data_models.py +3 -1
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib.egg-info/PKG-INFO +1 -1
- {moose_lib-0.4.192 → moose_lib-0.4.193}/README.md +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/__init__.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/blocks.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/commons.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/dmv2-serializer.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/dmv2.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/internal.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/main.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/query_param.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/streaming/__init__.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/streaming/streaming_function_runner.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib/tasks.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib.egg-info/SOURCES.txt +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib.egg-info/dependency_links.txt +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib.egg-info/requires.txt +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/moose_lib.egg-info/top_level.txt +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/setup.cfg +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/setup.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/tests/__init__.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/tests/conftest.py +0 -0
- {moose_lib-0.4.192 → moose_lib-0.4.193}/tests/test_moose.py +0 -0
@@ -227,9 +227,11 @@ def _to_columns(model: type[BaseModel]) -> list[Column]:
|
|
227
227
|
("LowCardinality", True)
|
228
228
|
)
|
229
229
|
|
230
|
+
column_name = field_name if field_info.alias is None else field_info.alias
|
231
|
+
|
230
232
|
columns.append(
|
231
233
|
Column(
|
232
|
-
name=
|
234
|
+
name=column_name,
|
233
235
|
data_type=data_type,
|
234
236
|
required=not optional,
|
235
237
|
unique=False,
|
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
|