omnata-plugin-runtime 0.6.0a163__tar.gz → 0.6.1a164__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.6.0a163
3
+ Version: 0.6.1a164
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.6.0-a163"
3
+ version = "0.6.1-a164"
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"
@@ -2357,7 +2357,7 @@ def omnata_udtf(
2357
2357
  data_type='OBJECT',
2358
2358
  description='The connection object, obtained from calling PLUGIN.PLUGIN_CONNECTION.')] + params
2359
2359
  cls._omnata_udtf_params = params_new
2360
- if len(params_new) != len(function_params) -1:
2360
+ if len(cls._omnata_udtf_params) != len(function_params) -1:
2361
2361
  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).")
2362
2362
 
2363
2363
  @wraps(original_process)
@@ -2471,7 +2471,7 @@ def omnata_udf(
2471
2471
  data_type='OBJECT',
2472
2472
  description='The connection object, obtained from calling PLUGIN.PLUGIN_CONNECTION.')] + params
2473
2473
  func._omnata_udf_params = params_new
2474
- if len(params_new) != len(function_params):
2474
+ if len(func._omnata_udf_params) != len(function_params):
2475
2475
  raise ValueError(f"You must document all the parameters of the function in the @omnata_udf decorator in the same order ('connection_parameters' will be included automatically).")
2476
2476
 
2477
2477
  @wraps(func)