omnata-plugin-runtime 0.5.7a147__tar.gz → 0.5.7a148__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.5.7a147
3
+ Version: 0.5.7a148
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
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.5.7-a147"
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"
@@ -2457,7 +2457,9 @@ def find_udtf_classes(path:str = '.') -> List[PythonUDTFDefinition | JavaUDTFDef
2457
2457
  matching_classes.append(PythonUDTFDefinition(
2458
2458
  name=obj._omnata_udtf_name,
2459
2459
  description=obj._omnata_udtf_description,
2460
- params=obj._omnata_udtf_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,
2461
2463
  result_columns=obj._omnata_udtf_result_columns,
2462
2464
  expose_to_consumer=obj._omnata_udtf_expose_to_consumer,
2463
2465
  handler=obj.__module__+'.'+obj.__name__
@@ -2545,7 +2547,9 @@ def find_udf_functions(path:str = '.') -> List[PythonUDFDefinition | JavaUDFDefi
2545
2547
  matching_classes.append(PythonUDFDefinition(
2546
2548
  name=obj._omnata_udf_name,
2547
2549
  description=obj._omnata_udf_description,
2548
- params=obj._omnata_udf_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,
2549
2553
  result_data_type=obj._omnata_udf_result_data_type,
2550
2554
  expose_to_consumer=obj._omnata_udf_expose_to_consumer,
2551
2555
  packages=[],