omnata-plugin-runtime 0.5.7a150__tar.gz → 0.5.7a152__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.7a150
3
+ Version: 0.5.7a152
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-a150"
3
+ version = "0.5.7-a152"
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"
@@ -2418,7 +2418,7 @@ def omnata_udtf(
2418
2418
  data_type='OBJECT',
2419
2419
  description='The connection object, obtained from calling PLUGIN.PLUGIN_CONNECTION.')] + params
2420
2420
  cls._omnata_udtf_params = params_new
2421
- if len(params) != len(function_params) -1:
2421
+ if len(params_new) != len(function_params) -1:
2422
2422
  raise ValueError(f"You must document all the parameters of the 'process' function in the @omnata_udtf decorator in the same order ('connection_parameters' will be included automatically).")
2423
2423
 
2424
2424
  @wraps(original_process)
@@ -2541,7 +2541,6 @@ def omnata_udf(
2541
2541
  wrapper._is_omnata_udf = True
2542
2542
  wrapper._omnata_udf_name = name
2543
2543
  wrapper._omnata_udf_description = description
2544
- wrapper._omnata_udf_params = params
2545
2544
  wrapper._omnata_udf_result_data_type = result_data_type
2546
2545
  wrapper._omnata_udf_expose_to_consumer = expose_to_consumer
2547
2546
  return wrapper