Skip to main content

pod_runner

Contains courtesy classes and functions for making pod running easier.

Module

Functions

setup_datasource

def setup_datasource(    datasource_config: DatasourceConfig,)> DatasourceContainerConfig:

Creates a BaseSource from a DatasourceConfig.

Arguments

  • datasource_config: The configuration as a DatasourceConfig instance.

Returns The created DatasourceContainerConfig.

setup_pod_from_config

def setup_pod_from_config(config: PodConfig)> Pod:

Creates a pod from a loaded config.

Arguments

  • config: The configuration as a PodConfig instance.

Returns The created pod.

setup_pod_from_config_file

def setup_pod_from_config_file(    path_to_config_yaml: Union[str, PathLike],)> Pod:

Creates a pod from a YAML config file.

Arguments

  • path_to_config_yaml: The path to the config file.

Returns The created pod.