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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- json_schema = JsonSchemaTopLevel.model_validate(stream_schema)
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=snowflake_columns + json_schema.build_view_columns(
593
- column_name_environment=column_name_environment,
594
- column_name_expression=column_name_expression
595
- ),
596
- joins=json_schema.joins or [],
597
- comment=json_schema.description
603
+ columns=view_columns,
604
+ joins=joins,
605
+ comment=comment
598
606
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.9.3a214
3
+ Version: 0.9.4
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=qa0TgikiludW5fMvT4GRIF8__HnIzNIOAF-KvwYfqmo,26013
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.3a214.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
- omnata_plugin_runtime-0.9.3a214.dist-info/METADATA,sha256=ZTRKv2RmB3lJhw1RMRxpXwesEy28aZiCzqCyVDJNbEQ,2158
12
- omnata_plugin_runtime-0.9.3a214.dist-info/WHEEL,sha256=RaoafKOydTQ7I_I3JTrPCg6kUmTgtm4BornzOqyEfJ8,88
13
- omnata_plugin_runtime-0.9.3a214.dist-info/RECORD,,
10
+ omnata_plugin_runtime-0.9.4.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
+ omnata_plugin_runtime-0.9.4.dist-info/METADATA,sha256=gQCJiGhq8R33-yAs7vItO92h0J_A-wiOP8OGtlC6B-A,2154
12
+ omnata_plugin_runtime-0.9.4.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
13
+ omnata_plugin_runtime-0.9.4.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