hydromt_sfincs.components.config.SfincsConfig.set#

SfincsConfig.set(key: str, value: Any, skip_validation: bool = False) None[source]#

Set a value for a specific key with validation using Pydantic’s model_validate.

Parameters:#

key (str):

The key to set the value for.

value (Any):

The value to set.

skip_validation (bool):

If True, skips validation of the new value. Default is False, meaning pydantic validation will be performed. This checks amongst others for correct data types and valid ranges.