omnata-plugin-runtime 0.5.3a120__py3-none-any.whl → 0.5.4a122__py3-none-any.whl
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/forms.py +1 -1
- omnata_plugin_runtime/omnata_plugin.py +7 -3
- {omnata_plugin_runtime-0.5.3a120.dist-info → omnata_plugin_runtime-0.5.4a122.dist-info}/METADATA +1 -1
- {omnata_plugin_runtime-0.5.3a120.dist-info → omnata_plugin_runtime-0.5.4a122.dist-info}/RECORD +6 -6
- {omnata_plugin_runtime-0.5.3a120.dist-info → omnata_plugin_runtime-0.5.4a122.dist-info}/LICENSE +0 -0
- {omnata_plugin_runtime-0.5.3a120.dist-info → omnata_plugin_runtime-0.5.4a122.dist-info}/WHEEL +0 -0
    
        omnata_plugin_runtime/forms.py
    CHANGED
    
    | @@ -209,7 +209,7 @@ class FormSliderField(SubscriptableBaseModel): | |
| 209 209 |  | 
| 210 210 | 
             
                name: str
         | 
| 211 211 | 
             
                label: str
         | 
| 212 | 
            -
                default_value: Optional[str] = Field(default=None)
         | 
| 212 | 
            +
                default_value: Optional[Union[str,int]] = Field(default=None)
         | 
| 213 213 | 
             
                secret: bool = Field(default=False)
         | 
| 214 214 | 
             
                required: bool = Field(default=False)
         | 
| 215 215 | 
             
                depends_on: Optional[str] = Field(default=None)
         | 
| @@ -2042,9 +2042,13 @@ def __managed_inbound_processing_worker( | |
| 2042 2042 | 
             
                        # restore the first argument, was originally the dataframe/generator but now it's the appropriately sized dataframe
         | 
| 2043 2043 | 
             
                        try:
         | 
| 2044 2044 | 
             
                            logger.info(f"worker {worker_index} processing stream {stream.stream_name}, invoking plugin class method {method.__name__}")
         | 
| 2045 | 
            -
                            method(plugin_class_obj, *(stream, *method_args), **method_kwargs)
         | 
| 2046 | 
            -
                            logger.info(f"worker {worker_index} completed processing stream {stream.stream_name} | 
| 2047 | 
            -
                             | 
| 2045 | 
            +
                            result = method(plugin_class_obj, *(stream, *method_args), **method_kwargs)
         | 
| 2046 | 
            +
                            logger.info(f"worker {worker_index} completed processing stream {stream.stream_name}")
         | 
| 2047 | 
            +
                            if result is not None and result is False:
         | 
| 2048 | 
            +
                                logger.info(f"worker {worker_index} requested that {stream.stream_name} be not marked as complete")
         | 
| 2049 | 
            +
                            else:
         | 
| 2050 | 
            +
                                logger.info(f"worker {worker_index} marking stream {stream.stream_name} as complete")
         | 
| 2051 | 
            +
                                plugin_class_obj._sync_request.mark_stream_complete(stream.stream_name)
         | 
| 2048 2052 | 
             
                        except InterruptedWhileWaitingException:
         | 
| 2049 2053 | 
             
                            # If an inbound run is cancelled while waiting for rate limiting, this should mean that
         | 
| 2050 2054 | 
             
                            # the cancellation is handled elsewhere, so we don't need to do anything special here other than stop waiting
         | 
    
        {omnata_plugin_runtime-0.5.3a120.dist-info → omnata_plugin_runtime-0.5.4a122.dist-info}/RECORD
    RENAMED
    
    | @@ -1,12 +1,12 @@ | |
| 1 1 | 
             
            omnata_plugin_runtime/__init__.py,sha256=MS9d1whnfT_B3-ThqZ7l63QeC_8OEKTuaYV5wTwRpBA,1576
         | 
| 2 2 | 
             
            omnata_plugin_runtime/api.py,sha256=FxzTqri4no8ClkOm7vZADG8aD47jcGBCTTQDEORmOJM,6326
         | 
| 3 3 | 
             
            omnata_plugin_runtime/configuration.py,sha256=4eKYhw6_l-RUVUwNU5NlTpPwL7xZRs6VLaCKf8OIKuY,36420
         | 
| 4 | 
            -
            omnata_plugin_runtime/forms.py,sha256= | 
| 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=_13zy630P_fPyrqCuRStXOy9iIEZnUSZNBSeHYxkujQ,111179
         | 
| 7 7 | 
             
            omnata_plugin_runtime/plugin_entrypoints.py,sha256=JirYUbPBaN0UMh9t_uAHDdhaQZ7NUhdMJ11eHRKOoNY,29302
         | 
| 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.4a122.dist-info/LICENSE,sha256=IMF9i4xIpgCADf0U-V1cuf9HBmqWQd3qtI3FSuyW4zE,26526
         | 
| 10 | 
            +
            omnata_plugin_runtime-0.5.4a122.dist-info/METADATA,sha256=nhK1zNYD6bVZfgYkcH6aqxs-EfutxlfD2vq1W4Sc8SY,1951
         | 
| 11 | 
            +
            omnata_plugin_runtime-0.5.4a122.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
         | 
| 12 | 
            +
            omnata_plugin_runtime-0.5.4a122.dist-info/RECORD,,
         | 
    
        {omnata_plugin_runtime-0.5.3a120.dist-info → omnata_plugin_runtime-0.5.4a122.dist-info}/LICENSE
    RENAMED
    
    | 
            File without changes
         | 
    
        {omnata_plugin_runtime-0.5.3a120.dist-info → omnata_plugin_runtime-0.5.4a122.dist-info}/WHEEL
    RENAMED
    
    | 
            File without changes
         |