academic_observatory_workflows.config

Classes

Tag

DAG tag.

TestConfig

Common parameters for end to end and unit testing

Functions

project_path(→ str)

Make a path to a file or folder within the Academic Observatory Workflows project.

construct_module_path(→ str)

Constructs the full module path given parts of a path.

Module Contents

class academic_observatory_workflows.config.Tag[source]

DAG tag.

academic_observatory = 'academic-observatory'[source]
data_quality = 'data-quality'[source]
academic_observatory_workflows.config.project_path(*subpaths: str) str[source]

Make a path to a file or folder within the Academic Observatory Workflows project.

Parameters:

subpaths – any sub paths.

Returns:

a path to a file or folder.

academic_observatory_workflows.config.construct_module_path(*parts: str) str[source]

Constructs the full module path given parts of a path.

class academic_observatory_workflows.config.TestConfig[source]

Common parameters for end to end and unit testing

gcp_project_id: str[source]
gcp_data_location: str[source]
http_host_url: str = 'host.minikube.internal'[source]
http_port: int = 5080[source]
ftp_host_url: str = 'host.minikube.internal'[source]
ftp_port: int = 5021[source]
gke_image: str = 'academic-observatory:test'[source]
gke_namespace: str = 'default'[source]
gke_cluster_connection: dict[source]