omnata-plugin-runtime 0.9.4a215__py3-none-any.whl → 0.9.4a217__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -585,17 +585,22 @@ def normalized_view_part(
585
585
  )
586
586
  )
587
587
  view_columns = snowflake_columns
588
+ joins = []
589
+ comment = None
588
590
  if stream_schema is not None:
589
591
  json_schema = JsonSchemaTopLevel.model_validate(stream_schema)
590
592
  view_columns += json_schema.build_view_columns(
591
593
  column_name_environment=column_name_environment,
592
594
  column_name_expression=column_name_expression
593
595
  )
596
+ if json_schema.joins:
597
+ joins = json_schema
598
+ comment = json_schema.description
594
599
 
595
600
  return SnowflakeViewPart(
596
601
  stream_name=stream_name,
597
602
  raw_table_location=raw_table_location,
598
603
  columns=view_columns,
599
- joins=json_schema.joins or [],
600
- comment=json_schema.description
604
+ joins=joins,
605
+ comment=comment
601
606
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.9.4a215
3
+ Version: 0.9.4a217
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=Q_n8taK79eFMkTPOWWZwg6-wqlT_wQw9OEBRjO4TvPg,25903
5
+ omnata_plugin_runtime/json_schema.py,sha256=tN38MiL9zZ2_VmM8InIkfKqYPDFlSKQdqcM7ZyviU6w,26007
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.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,,
10
+ omnata_plugin_runtime-0.9.4a217.dist-info/LICENSE,sha256=rGaMQG3R3F5-JGDp_-rlMKpDIkg5n0SI4kctTk8eZSI,56
11
+ omnata_plugin_runtime-0.9.4a217.dist-info/METADATA,sha256=tFQoOmuIc05bgtKy1GL8JMS5f9En-zwAN7hvmRkpdgY,2158
12
+ omnata_plugin_runtime-0.9.4a217.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
13
+ omnata_plugin_runtime-0.9.4a217.dist-info/RECORD,,