hydromt_wflow.components.WflowConfigComponent.get_value#

WflowConfigComponent.get_value(key: str, fallback: Any | None = None, abs_path: bool = False) Any | None[source]#

Get config options.

Parameters:
  • key (str) – Keys are a string with ‘.’ indicating a new level: (‘key1.key2’)

  • fallback (Any, optional) – Fallback value if key(s) not found in config, by default None.

  • abs_path (bool, optional) – If True return the absolute path relative to the model root, by default False.