omnata-plugin-runtime 0.5.7a146__py3-none-any.whl → 0.5.7a148__py3-none-any.whl
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/omnata_plugin.py +8 -3
- {omnata_plugin_runtime-0.5.7a146.dist-info → omnata_plugin_runtime-0.5.7a148.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.5.7a146.dist-info → omnata_plugin_runtime-0.5.7a148.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.5.7a146.dist-info → omnata_plugin_runtime-0.5.7a148.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.7a146.dist-info → omnata_plugin_runtime-0.5.7a148.dist-info}/WHEEL +0 -0
@@ -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=[],
|
{omnata_plugin_runtime-0.5.7a146.dist-info → omnata_plugin_runtime-0.5.7a148.dist-info}/RECORD
RENAMED
@@ -3,10 +3,10 @@ omnata_plugin_runtime/api.py,sha256=FxzTqri4no8ClkOm7vZADG8aD47jcGBCTTQDEORmOJM,
|
|
3
3
|
omnata_plugin_runtime/configuration.py,sha256=TI6GaVFhewVawBCaYN34GujY57qEP6q2nik4YpSEk5s,38100
|
4
4
|
omnata_plugin_runtime/forms.py,sha256=GzSPEwcijsoPCXEO1mHiE8ylvX_KSE5TkhwqkymA2Ss,19755
|
5
5
|
omnata_plugin_runtime/logging.py,sha256=bn7eKoNWvtuyTk7RTwBS9UARMtqkiICtgMtzq3KA2V0,3272
|
6
|
-
omnata_plugin_runtime/omnata_plugin.py,sha256=
|
6
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=5YCbHVi6Tjg3WfHBM7OK6985aC4n2U-ZP8f_WJgsrm4,125873
|
7
7
|
omnata_plugin_runtime/plugin_entrypoints.py,sha256=PFSLsYEVnWHVvSoOYTtTK2JY6pp6_8_eYP53WqLRiPE,27975
|
8
8
|
omnata_plugin_runtime/rate_limiting.py,sha256=DVQ_bc-mVLBkrU1PTns1MWXhHiLpSB5HkWCcdePtJ2A,25611
|
9
|
-
omnata_plugin_runtime-0.5.
|
10
|
-
omnata_plugin_runtime-0.5.
|
11
|
-
omnata_plugin_runtime-0.5.
|
12
|
-
omnata_plugin_runtime-0.5.
|
9
|
+
omnata_plugin_runtime-0.5.7a148.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
10
|
+
omnata_plugin_runtime-0.5.7a148.dist-info/METADATA,sha256=eW4IEWZChLFzX-7PPofw_fR8Wa6ADzXbCz454U5_AT0,1985
|
11
|
+
omnata_plugin_runtime-0.5.7a148.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
12
|
+
omnata_plugin_runtime-0.5.7a148.dist-info/RECORD,,
|
{omnata_plugin_runtime-0.5.7a146.dist-info → omnata_plugin_runtime-0.5.7a148.dist-info}/LICENSE
RENAMED
File without changes
|
{omnata_plugin_runtime-0.5.7a146.dist-info → omnata_plugin_runtime-0.5.7a148.dist-info}/WHEEL
RENAMED
File without changes
|