omnata-plugin-runtime 0.5.7a153__py3-none-any.whl → 0.5.7a155__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -127,6 +127,8 @@ class PluginInfo(BaseModel):
127
127
  Setting this to 'partner' means that the plugin was developed and distributed by a partner.
128
128
  All other values only carry meaning for Omnata plugins, to indicate which iconography to apply within the application.
129
129
  :param str package_source: Whether the plugin is packaged as a function or a stage
130
+ :param List[UDFDefinition] consumer_udfs: A list of UDFs that the plugin exposes to consumers
131
+ :param List[UDTFDefinition] consumer_udtfs: A list of UDTFs that the plugin exposes to consumers
130
132
  """
131
133
 
132
134
  manifest: PluginManifest
@@ -139,6 +141,8 @@ class PluginInfo(BaseModel):
139
141
  plugin_devkit_version: str = 'unknown'
140
142
  tier: str
141
143
  package_source: Literal["function", "stage"]
144
+ consumer_udfs: List[UDFDefinition] = Field(default_factory=list)
145
+ consumer_udtfs: List[UDTFDefinition] = Field(default_factory=list)
142
146
 
143
147
 
144
148
  def jinja_filter(func):
@@ -2412,7 +2416,9 @@ def find_udtf_classes(path:str = '.') -> List[UDTFDefinition]:
2412
2416
  if hasattr(obj, '_is_omnata_udtf'):
2413
2417
  matching_classes.append(UDTFDefinition(
2414
2418
  name=obj._omnata_udtf_name,
2415
-
2419
+ language='python',
2420
+ runtime_version='3.10',
2421
+ imports=['/app.zip'],
2416
2422
  description=obj._omnata_udtf_description,
2417
2423
  params=obj._omnata_udtf_params,
2418
2424
  result_columns=obj._omnata_udtf_result_columns,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.5.7a153
3
+ Version: 0.5.7a155
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=-897PLPpy12thVlA-vCC6jC8HPk0dOARyJ_4ltHt_pU,126604
6
+ omnata_plugin_runtime/omnata_plugin.py,sha256=3kYPbVZ84jdoW7N4c27-G5h6Kqd-5RmTk9jHnLUBJ_s,127047
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.7a153.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
- omnata_plugin_runtime-0.5.7a153.dist-info/METADATA,sha256=dnpvZfftA1RsSJ1Bwy3wBDDuhnBJIlbDuEuiwH9SFYI,1985
11
- omnata_plugin_runtime-0.5.7a153.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
- omnata_plugin_runtime-0.5.7a153.dist-info/RECORD,,
9
+ omnata_plugin_runtime-0.5.7a155.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
10
+ omnata_plugin_runtime-0.5.7a155.dist-info/METADATA,sha256=Hj5auHcMFD5ccMW6w28cniS6rNMm6uxvyiPBUAnGHx0,1985
11
+ omnata_plugin_runtime-0.5.7a155.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
12
+ omnata_plugin_runtime-0.5.7a155.dist-info/RECORD,,