grove.entrypoints package¶
Grove entrypoints for different supported runtimes.
Submodules¶
grove.entrypoints.aws_lambda module¶
Grove AWS Lambda entrypoint.
grove.entrypoints.base module¶
Provides functions used between entrypoints.
- grove.entrypoints.base.configure() List[ConnectorConfig] [source]¶
Fetches all configuration documents and associated secrets.
- grove.entrypoints.base.dispatch(config: ConnectorConfig, context: Dict[str, str])[source]¶
Executes a connector, blocking until complete.
This function is intended to be called via a ThreadPoolExecutor to enable concurrent execution of connectors.
- Parameters:
config – A connector configuration object for this connector thread.
context – Contextual information relating to the current runtime.
- grove.entrypoints.base.entrypoint(context: Dict[str, Any])[source]¶
Provides the main entrypoint for Grove.
This function should be called from various wrappers in order to execute Grove when running under the respective runtime. This is in order to enable use in serverless, containerised, virtualised, and “bare metal” environments.
- Parameters:
context – Contextual information relating to the current runtime.
grove.entrypoints.local_process module¶
Grove local process entrypoint.