omnata-plugin-runtime 0.9.3a214__tar.gz → 0.9.4__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/json_schema.py +15 -7
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/LICENSE +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/README.md +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/omnata_plugin.py +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -584,15 +584,23 @@ def normalized_view_part(
|
|
584
584
|
comment="A flag to indicate which run the record was last processed in",
|
585
585
|
)
|
586
586
|
)
|
587
|
-
|
587
|
+
view_columns = snowflake_columns
|
588
|
+
joins = []
|
589
|
+
comment = None
|
590
|
+
if stream_schema is not None:
|
591
|
+
json_schema = JsonSchemaTopLevel.model_validate(stream_schema)
|
592
|
+
view_columns += json_schema.build_view_columns(
|
593
|
+
column_name_environment=column_name_environment,
|
594
|
+
column_name_expression=column_name_expression
|
595
|
+
)
|
596
|
+
if json_schema.joins:
|
597
|
+
joins = json_schema.joins
|
598
|
+
comment = json_schema.description
|
588
599
|
|
589
600
|
return SnowflakeViewPart(
|
590
601
|
stream_name=stream_name,
|
591
602
|
raw_table_location=raw_table_location,
|
592
|
-
columns=
|
593
|
-
|
594
|
-
|
595
|
-
),
|
596
|
-
joins=json_schema.joins or [],
|
597
|
-
comment=json_schema.description
|
603
|
+
columns=view_columns,
|
604
|
+
joins=joins,
|
605
|
+
comment=comment
|
598
606
|
)
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/forms.py
RENAMED
File without changes
|
{omnata_plugin_runtime-0.9.3a214 → omnata_plugin_runtime-0.9.4}/src/omnata_plugin_runtime/logging.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|