omnata-plugin-runtime 0.12.1__tar.gz → 0.12.2a331__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.12.1 → omnata_plugin_runtime-0.12.2a331}/PKG-INFO +1 -1
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/pyproject.toml +1 -1
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/omnata_plugin.py +4 -1
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/LICENSE +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/README.md +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/__init__.py +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/api.py +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/configuration.py +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/forms.py +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/json_schema.py +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/logging.py +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/plugin_entrypoints.py +0 -0
- {omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/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.12.
|
|
3
|
+
version = "0.12.2-a331"
|
|
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"
|
|
@@ -2762,7 +2762,7 @@ def omnata_udf(
|
|
|
2762
2762
|
|
|
2763
2763
|
return decorator
|
|
2764
2764
|
|
|
2765
|
-
def find_udf_functions(path:str = '.',top_level_modules:Optional[List[str]] = None) -> List[UDFDefinition]:
|
|
2765
|
+
def find_udf_functions(path:str = '.',top_level_modules:Optional[List[str]] = None, exclude_top_level_modules:Optional[List[str]] = None) -> List[UDFDefinition]:
|
|
2766
2766
|
"""
|
|
2767
2767
|
Finds all functions in the specified directory which have the 'omnata_udf' decorator applied
|
|
2768
2768
|
"""
|
|
@@ -2778,6 +2778,9 @@ def find_udf_functions(path:str = '.',top_level_modules:Optional[List[str]] = No
|
|
|
2778
2778
|
if top_level_modules is not None:
|
|
2779
2779
|
if len([x for x in top_level_modules if module_name.startswith(x)]) == 0:
|
|
2780
2780
|
continue
|
|
2781
|
+
if exclude_top_level_modules is not None:
|
|
2782
|
+
if any(module_name.startswith(y) for y in exclude_top_level_modules):
|
|
2783
|
+
continue
|
|
2781
2784
|
module = importlib.import_module(module_name)
|
|
2782
2785
|
|
|
2783
2786
|
# Iterate over all members of the module
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/api.py
RENAMED
|
File without changes
|
|
File without changes
|
{omnata_plugin_runtime-0.12.1 → omnata_plugin_runtime-0.12.2a331}/src/omnata_plugin_runtime/forms.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|