omnata-plugin-runtime 0.10.6a236__tar.gz → 0.10.6a237__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.
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/json_schema.py +5 -2
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/LICENSE +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/README.md +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/omnata_plugin.py +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.10.6a236 → omnata_plugin_runtime-0.10.6a237}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            [tool.poetry]
         | 
| 2 2 | 
             
            name = "omnata-plugin-runtime"
         | 
| 3 | 
            -
            version = "0.10.6- | 
| 3 | 
            +
            version = "0.10.6-a237"
         | 
| 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"
         | 
| @@ -181,6 +181,9 @@ class SnowflakeViewColumn(BaseModel): | |
| 181 181 | 
             
                    if original_name:
         | 
| 182 182 | 
             
                        return f'{self.expression} as "{self.original_name}"'
         | 
| 183 183 | 
             
                    return f'{self.expression} as "{self.name}"'
         | 
| 184 | 
            +
                
         | 
| 185 | 
            +
                def original_to_transformed(self) -> str:
         | 
| 186 | 
            +
                    return f'"{self.original_name}" as "{self.name}"'
         | 
| 184 187 |  | 
| 185 188 | 
             
                def name_with_comment(self,binding_list:Optional[List[Any]] = None) -> str:
         | 
| 186 189 | 
             
                    """
         | 
| @@ -426,8 +429,8 @@ class SnowflakeViewParts(BaseModel): | |
| 426 429 | 
             
                    all_ctes = "\n,".join(ctes)
         | 
| 427 430 | 
             
                    direct_columns = self.main_part.direct_columns()
         | 
| 428 431 | 
             
                    join_columns = self.main_part.join_columns()
         | 
| 429 | 
            -
                    direct_column_clauses = [c. | 
| 430 | 
            -
                    join_column_clauses = [c.definition( | 
| 432 | 
            +
                    direct_column_clauses = [f"\"{self.main_part.stream_name}\"."+c.original_to_transformed() for c in direct_columns]
         | 
| 433 | 
            +
                    join_column_clauses = [c.definition() for c in join_columns]
         | 
| 431 434 | 
             
                    # the joined columns may reference the direct columns, so we need to order them correctly
         | 
| 432 435 | 
             
                    final_column_clauses = direct_column_clauses + join_column_clauses
         | 
| 433 436 | 
             
                    view_body = f"""with {all_ctes}
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |