omnata-plugin-runtime 0.9.3__py3-none-any.whl → 0.9.4a215__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -584,15 +584,18 @@ def normalized_view_part(
584
584
  comment="A flag to indicate which run the record was last processed in",
585
585
  )
586
586
  )
587
- json_schema = JsonSchemaTopLevel.model_validate(stream_schema)
587
+ view_columns = snowflake_columns
588
+ if stream_schema is not None:
589
+ json_schema = JsonSchemaTopLevel.model_validate(stream_schema)
590
+ view_columns += json_schema.build_view_columns(
591
+ column_name_environment=column_name_environment,
592
+ column_name_expression=column_name_expression
593
+ )
588
594
 
589
595
  return SnowflakeViewPart(
590
596
  stream_name=stream_name,
591
597
  raw_table_location=raw_table_location,
592
- columns=snowflake_columns + json_schema.build_view_columns(
593
- column_name_environment=column_name_environment,
594
- column_name_expression=column_name_expression
595
- ),
598
+ columns=view_columns,
596
599
  joins=json_schema.joins or [],
597
600
  comment=json_schema.description
598
601
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.9.3
3
+ Version: 0.9.4a215
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -2,12 +2,12 @@ omnata_plugin_runtime/__init__.py,sha256=MS9d1whnfT_B3-ThqZ7l63QeC_8OEKTuaYV5wTw
2
2
  omnata_plugin_runtime/api.py,sha256=baGraSMiD4Yvi3ZWrEv_TKh8Ktd1U8riBdOpe9j0Puw,8202
3
3
  omnata_plugin_runtime/configuration.py,sha256=H1snDDtS4DF2AILynob878ZKcronnZl5Qig6dE9KDoc,41189
4
4
  omnata_plugin_runtime/forms.py,sha256=9YHJ_T17lT-rwyDaUg_0yj_YMPda4DRCw_wrvf8hE0E,19964
5
- omnata_plugin_runtime/json_schema.py,sha256=vMXkAA5bpmdOh5T8_6zo4pnc3bGQIWm1cBy7VCXEgFg,25812
5
+ omnata_plugin_runtime/json_schema.py,sha256=Q_n8taK79eFMkTPOWWZwg6-wqlT_wQw9OEBRjO4TvPg,25903
6
6
  omnata_plugin_runtime/logging.py,sha256=WBuZt8lF9E5oFWM4KYQbE8dDJ_HctJ1pN3BHwU6rcd0,4461
7
7
  omnata_plugin_runtime/omnata_plugin.py,sha256=IDj8EaWZuEKaTPrWm3wzHvdmW4l2WibCZEj9AnyTHLU,131622
8
8
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=iqGl8_nEEnPGKg3Aem4YLSQ6d5xS3ju5gq8MJbx6sCA,31968
9
9
  omnata_plugin_runtime/rate_limiting.py,sha256=qpr5esU4Ks8hMzuMpSR3gLFdor2ZUXYWCjmsQH_K6lQ,25882
10
- omnata_plugin_runtime-0.9.3.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
- omnata_plugin_runtime-0.9.3.dist-info/METADATA,sha256=bzzFeAmbxna6lX3A52ciAbCevSEAoOTk4wgotTKKCic,2154
12
- omnata_plugin_runtime-0.9.3.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
13
- omnata_plugin_runtime-0.9.3.dist-info/RECORD,,
10
+ omnata_plugin_runtime-0.9.4a215.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
+ omnata_plugin_runtime-0.9.4a215.dist-info/METADATA,sha256=pHbFvSrIEBKStEg_Q53WxytpA1GZKPkVU9RyIWoXsbc,2158
12
+ omnata_plugin_runtime-0.9.4a215.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
13
+ omnata_plugin_runtime-0.9.4a215.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.0
2
+ Generator: poetry-core 2.0.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any