omnata-plugin-runtime 0.11.0a314__tar.gz → 0.11.1a315__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.
@@ -1,7 +1,8 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.11.0a314
3
+ Version: 0.11.1a315
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
+ License-File: LICENSE
5
6
  Author: James Weakley
6
7
  Author-email: james.weakley@omnata.com
7
8
  Requires-Python: >=3.8,<=3.11
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.11.0-a314"
3
+ version = "0.11.1-a315"
4
4
  description = "Classes and common runtime components for building and running Omnata Plugins"
5
5
  authors = ["James Weakley <james.weakley@omnata.com>"]
6
6
  readme = "README.md"
@@ -813,7 +813,13 @@ def find_part(view_part: SnowflakeViewPart, joined_parts: List[SnowflakeViewPart
813
813
  return part
814
814
  for join in view_part.joins:
815
815
  if join.join_stream_alias == stream_name:
816
- return view_part
816
+ # this is the join, we need to find the actual stream
817
+ for part in joined_parts:
818
+ if part.stream_name == join.join_stream_name:
819
+ return part
820
+ logger.warning(
821
+ f"Join alias {stream_name} maps to stream {join.join_stream_name}, but that stream is not in the joined parts"
822
+ )
817
823
  return None
818
824
 
819
825
  def prune(view_part: SnowflakeViewPart, joined_parts: List[SnowflakeViewPart]) -> bool: