Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

standardise passing down config parameters #40

@galamit86

Description

@galamit86

Decide on and implement "best-way" to pass down configuration information - at this point that includes paths and 3 nested GCP environments.

Current thinking is hand down full object config, and possible extra parameters if needed - currently gcp_env is required to choose between the 3 different GCP possibilities (dev, test and prod).

Another option is to create paths and gcp and hand only the required pieces to the relevant function-tasks


Extra info about Config:

Currently, the config parameters are inputted via nl_open_data/user_config.toml, and added to Prefect's global config object at import (via config.py or __init__.py - TBD). Within a certain flow-script, i.e. regionaal.py, the config object is imported:

from nl_open_data.config import config

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions