omnata-plugin-runtime 0.6.2a165__tar.gz → 0.6.2a166__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.6.2a165
3
+ Version: 0.6.2a166
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
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.6.2-a165"
3
+ version = "0.6.2-a166"
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"
@@ -2398,6 +2398,9 @@ def find_udtf_classes(path:str = '.') -> List[UDTFDefinition]:
2398
2398
 
2399
2399
  # Iterate over all modules in the current directory
2400
2400
  for root, _, _ in os.walk(current_dir):
2401
+ # exclude the '.packages' directory
2402
+ if '.packages' in root:
2403
+ continue
2401
2404
  for _, module_name, _ in pkgutil.iter_modules([root]):
2402
2405
  # Import the module
2403
2406
  module = importlib.import_module(module_name)
@@ -2515,6 +2518,9 @@ def find_udf_functions(path:str = '.') -> List[UDFDefinition]:
2515
2518
  # Iterate over all modules in the current directory
2516
2519
  # Walk through the directory tree
2517
2520
  for root, _, _ in os.walk(current_dir):
2521
+ # exclude the '.packages' directory
2522
+ if '.packages' in root:
2523
+ continue
2518
2524
  for _, module_name, _ in pkgutil.iter_modules([root]):
2519
2525
  # Import the module
2520
2526
  module = importlib.import_module(module_name)