omnata-plugin-runtime 0.5.7a146__tar.gz → 0.5.7a148__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/src/omnata_plugin_runtime/omnata_plugin.py +8 -3
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/README.md +0 -0
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/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.5.7-
|
3
|
+
version = "0.5.7-a148"
|
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"
|
@@ -2253,7 +2253,8 @@ class SnowflakeUDTFResultColumn:
|
|
2253
2253
|
"""
|
2254
2254
|
name: str
|
2255
2255
|
data_type: str
|
2256
|
-
|
2256
|
+
def __str__(self):
|
2257
|
+
return f"{self.name} {self.data_type}"
|
2257
2258
|
|
2258
2259
|
@dataclass
|
2259
2260
|
class PythonUDTFDefinition:
|
@@ -2456,7 +2457,9 @@ def find_udtf_classes(path:str = '.') -> List[PythonUDTFDefinition | JavaUDTFDef
|
|
2456
2457
|
matching_classes.append(PythonUDTFDefinition(
|
2457
2458
|
name=obj._omnata_udtf_name,
|
2458
2459
|
description=obj._omnata_udtf_description,
|
2459
|
-
params=
|
2460
|
+
params=[SnowflakeFunctionParameter(name='CONNECTION_PARAMETERS',
|
2461
|
+
data_type='OBJECT',
|
2462
|
+
description='The connection object, obtained from calling PLUGIN.PLUGIN_CONNECTION')]+obj._omnata_udtf_params,
|
2460
2463
|
result_columns=obj._omnata_udtf_result_columns,
|
2461
2464
|
expose_to_consumer=obj._omnata_udtf_expose_to_consumer,
|
2462
2465
|
handler=obj.__module__+'.'+obj.__name__
|
@@ -2544,7 +2547,9 @@ def find_udf_functions(path:str = '.') -> List[PythonUDFDefinition | JavaUDFDefi
|
|
2544
2547
|
matching_classes.append(PythonUDFDefinition(
|
2545
2548
|
name=obj._omnata_udf_name,
|
2546
2549
|
description=obj._omnata_udf_description,
|
2547
|
-
params=
|
2550
|
+
params=[SnowflakeFunctionParameter(name='CONNECTION_PARAMETERS',
|
2551
|
+
data_type='OBJECT',
|
2552
|
+
description='The connection object, obtained from calling PLUGIN.PLUGIN_CONNECTION')] + obj._omnata_udf_params,
|
2548
2553
|
result_data_type=obj._omnata_udf_result_data_type,
|
2549
2554
|
expose_to_consumer=obj._omnata_udf_expose_to_consumer,
|
2550
2555
|
packages=[],
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.5.7a146 → omnata_plugin_runtime-0.5.7a148}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|