omnata-plugin-runtime 0.5.7a157__py3-none-any.whl → 0.5.8__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- omnata_plugin_runtime/omnata_plugin.py +8 -2
- {omnata_plugin_runtime-0.5.7a157.dist-info → omnata_plugin_runtime-0.5.8.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.5.7a157.dist-info → omnata_plugin_runtime-0.5.8.dist-info}/RECORD +5 -5
- {omnata_plugin_runtime-0.5.7a157.dist-info → omnata_plugin_runtime-0.5.8.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.7a157.dist-info → omnata_plugin_runtime-0.5.8.dist-info}/WHEEL +0 -0
@@ -2425,7 +2425,10 @@ def find_udtf_classes(path:str = '.') -> List[UDTFDefinition]:
|
|
2425
2425
|
expose_to_consumer=obj._omnata_udtf_expose_to_consumer,
|
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):
|
2430
|
+
# Check if the class has the specified attribute
|
2431
|
+
if isinstance(obj, UDTFDefinition) and cast(UDTFDefinition,obj).language == 'java':
|
2429
2432
|
matching_classes.append(obj)
|
2430
2433
|
|
2431
2434
|
return matching_classes
|
@@ -2529,7 +2532,10 @@ def find_udf_functions(path:str = '.') -> List[UDFDefinition]:
|
|
2529
2532
|
packages=[],
|
2530
2533
|
handler=obj.__module__+'.'+obj.__name__
|
2531
2534
|
))
|
2532
|
-
|
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):
|
2537
|
+
# Check if the class has the specified attribute
|
2538
|
+
if isinstance(obj, UDFDefinition) and cast(UDFDefinition,obj).language == 'java':
|
2533
2539
|
matching_classes.append(obj)
|
2534
2540
|
|
2535
2541
|
return matching_classes
|
@@ -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=
|
6
|
+
omnata_plugin_runtime/omnata_plugin.py,sha256=7fZ3CQk4jGGyyUrxuQI4DJV7OTavP1IuMDuxaPdV8RM,127455
|
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.
|
10
|
-
omnata_plugin_runtime-0.5.
|
11
|
-
omnata_plugin_runtime-0.5.
|
12
|
-
omnata_plugin_runtime-0.5.
|
9
|
+
omnata_plugin_runtime-0.5.8.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
|
10
|
+
omnata_plugin_runtime-0.5.8.dist-info/METADATA,sha256=nhBURZC9uGhd5JOGwRBIcqt32Ob9IaY7m2Un5Si9fr4,1981
|
11
|
+
omnata_plugin_runtime-0.5.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
12
|
+
omnata_plugin_runtime-0.5.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|