hydromt_sfincs.components.config.SfincsConfig.update#
- SfincsConfig.update(dict: Dict[str, Any] | None = None, *, skip_validation: bool = False, **kwargs) None[source]#
Update attributes using a dictionary or keyword arguments.
Parameters:#
- dict (Dict[str, Any], optional):
A dictionary containing key-value pairs to update the attributes. Example: dict = {‘mmax’: 100, ‘nmax’: 50}.
- skip_validation (bool, optional):
If True, skips validation of the new values. Default is False, meaning pydantic validation will be performed. This checks amongst others for correct data types and valid ranges.
- kwargs:
Key-value pairs passed as keyword arguments. Example: update(mmax=100, nmax=50)