omnata-plugin-runtime 0.5.7a153__tar.gz → 0.5.7a155__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/omnata_plugin.py +7 -1
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/README.md +0 -0
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/rate_limiting.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "omnata-plugin-runtime"
|
3
|
-
version = "0.5.7-
|
3
|
+
version = "0.5.7-a155"
|
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"
|
@@ -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,
|
File without changes
|
File without changes
|
File without changes
|
{omnata_plugin_runtime-0.5.7a153 → omnata_plugin_runtime-0.5.7a155}/src/omnata_plugin_runtime/api.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|