omnata-plugin-runtime 0.5.8a158__tar.gz → 0.5.8a159__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.5.8a158
3
+ Version: 0.5.8a159
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.5.8-a158"
3
+ version = "0.5.8-a159"
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"
@@ -2426,7 +2426,7 @@ def find_udtf_classes(path:str = '.') -> List[UDTFDefinition]:
2426
2426
  handler=obj.__module__+'.'+obj.__name__
2427
2427
  ))
2428
2428
  # java doesn't use the python decorator, so we need to check for the class directly
2429
- for name, obj in inspect.getmembers(module, inspect.isclass):
2429
+ for name, obj in inspect.getmembers(module):
2430
2430
  # Check if the class has the specified attribute
2431
2431
  if isinstance(obj, UDTFDefinition) and cast(UDTFDefinition,obj).language == 'java':
2432
2432
  matching_classes.append(obj)
@@ -2533,7 +2533,7 @@ def find_udf_functions(path:str = '.') -> List[UDFDefinition]:
2533
2533
  handler=obj.__module__+'.'+obj.__name__
2534
2534
  ))
2535
2535
  # java doesn't use the python decorator, so we need to check for the class directly
2536
- for name, obj in inspect.getmembers(module, inspect.isclass):
2536
+ for name, obj in inspect.getmembers(module):
2537
2537
  # Check if the class has the specified attribute
2538
2538
  if isinstance(obj, UDFDefinition) and cast(UDFDefinition,obj).language == 'java':
2539
2539
  matching_classes.append(obj)