omnata-plugin-runtime 0.5.7a138__py3-none-any.whl → 0.5.7a139__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -2235,7 +2235,6 @@ class SnowflakeFunctionParameter:
2235
2235
  name: str
2236
2236
  description: str
2237
2237
  data_type: str
2238
- has_default_value: bool = False
2239
2238
  default_value_clause: Optional[str] = None
2240
2239
 
2241
2240
  @dataclass
@@ -2245,6 +2244,7 @@ class SnowflakeUDTFResultColumn:
2245
2244
  description: str
2246
2245
 
2247
2246
  def consumer_udtf(
2247
+ name:str,
2248
2248
  description: str,
2249
2249
  params: List[SnowflakeFunctionParameter],
2250
2250
  result_columns: List[SnowflakeUDTFResultColumn]):
@@ -2295,6 +2295,7 @@ def consumer_udtf(
2295
2295
  # Replace the original 'process' method with the wrapped version
2296
2296
  setattr(cls, 'process', wrapped_process)
2297
2297
  cls._is_omnata_consumer_udtf = True
2298
+ cls._omnata_consumer_udtf_name = name
2298
2299
  cls._omnata_consumer_udtf_description = description
2299
2300
  cls._omnata_consumer_udtf_params = params
2300
2301
  cls._omnata_consumer_udtf_result_columns = result_columns
@@ -2323,6 +2324,7 @@ def find_consumer_udtf_classes(path:str = '.'):
2323
2324
 
2324
2325
 
2325
2326
  def consumer_udf(
2327
+ name: str,
2326
2328
  description: str,
2327
2329
  params: List[SnowflakeFunctionParameter],
2328
2330
  result_data_type: str):
@@ -2363,6 +2365,7 @@ def consumer_udf(
2363
2365
  return func(parameters, *args, **kwargs)
2364
2366
 
2365
2367
  wrapper._is_omnata_consumer_udf = True
2368
+ wrapper._omnata_consumer_udf_name = name
2366
2369
  wrapper._omnata_consumer_udf_description = description
2367
2370
  wrapper._omnata_consumer_udf_params = params
2368
2371
  wrapper._omnata_consumer_udf_result_data_type = result_data_type
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.5.7a138
3
+ Version: 0.5.7a139
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=oMQDljO8zgE8k5HlSCZ4hGFRYcuE8QWjYyKttCsZNVs,119224
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=ummcjxBlTNXo_QdOmvUrAMZ9RoHp3FuBOcLnrMhQBhc,119320
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.7a138.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.5.7a138.dist-info/METADATA,sha256=CMc5dTHMT90TAlp6ZE6bRibqDN6hRwaxjClZFlYzBDs,1985
11
- omnata_plugin_runtime-0.5.7a138.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.5.7a138.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.5.7a139.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.5.7a139.dist-info/METADATA,sha256=elPcTbyT3eCguA6L4olAr359OyvNip3HUiOC0wzfC7Q,1985
11
+ omnata_plugin_runtime-0.5.7a139.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.5.7a139.dist-info/RECORD,,