omnata-plugin-runtime 0.6.0__py3-none-any.whl → 0.6.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.6.0
3
+ Version: 0.6.1
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
@@ -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=_vcDgenjpbSyUc4LVdwjCG_iZbJ815GM12lapidAchs,128574
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=07j__vFXd_WDfGegTd-E1FfUBVqvMWYQWzY8UCuGdrQ,128600
7
7
  omnata_plugin_runtime/plugin_entrypoints.py,sha256=-mkIpfB_pTl1yDBMmTnioW44RPj-V8dvlhBiU7ekvkQ,27976
8
8
  omnata_plugin_runtime/rate_limiting.py,sha256=JukA0l7x7Klqz2b54mR-poP7NRxpUHgWSGp6h0B8u6Q,25612
9
- omnata_plugin_runtime-0.6.0.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.6.0.dist-info/METADATA,sha256=NjbU1L8AR6IHJ-7QMlEGMxvkWwU3msZkag-5qB0fp30,1981
11
- omnata_plugin_runtime-0.6.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.6.0.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.6.1.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.6.1.dist-info/METADATA,sha256=Q3eYXDexJAV-YZ_qbddro_qGste0CR4XqyP_DSEn9po,1981
11
+ omnata_plugin_runtime-0.6.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.6.1.dist-info/RECORD,,