···11# Imports needed to work with the plugin system - if you modify this make sure to also modify the pyproject.toml file
22from osprey.worker._stdlibplugin.sink_register import register_output_sinks
33+from osprey.worker._stdlibplugin.storage_register import register_execution_result_store
34from osprey.worker._stdlibplugin.udf_register import register_udfs
45from osprey.worker._stdlibplugin.validator_regsiter import register_ast_validators
5666-__all__ = ['register_output_sinks', 'register_udfs', 'register_ast_validators']
77+__all__ = ['register_output_sinks', 'register_udfs', 'register_ast_validators', 'register_execution_result_store']
···13131414if TYPE_CHECKING:
1515 from osprey.worker.lib.config import Config
1616+ from osprey.worker.lib.storage.stored_execution_result import ExecutionResultStore
1617 from osprey.worker.sinks.sink.output_sink import BaseOutputSink
17181819hookspec: pluggy.HookspecMarker = pluggy.HookspecMarker(OSPREY_ADAPTOR)
···4546@hookspec(firstresult=True)
4647def register_input_stream(config: Config) -> BaseInputStream[BaseAckingContext[Action]]:
4748 raise NotImplementedError('register_input_stream must be implemented by the plugin')
4949+5050+5151+@hookspec(firstresult=True)
5252+def register_execution_result_store(config: Config) -> ExecutionResultStore:
5353+ """Register an execution result storage backend instance."""
5454+ raise NotImplementedError('register_execution_result_store must be implemented by the plugin')