Config#

class caf.cvt.model_config.Config(*, switches, paths, other_input, infrastructure, hazards, impact)[source]#

Bases: BaseConfig

Main configuration for whole model.

Parameters:
switches[source]#

Configuration for model switches.

Type:

SwitchConfig

paths[source]#

Configuration for base paths.

Type:

PathConfig

infrastructure[source]#

Configuration for infrastructure data.

Type:

InfrastructureConfig

hazards[source]#

Configuration for hazards data.

Type:

HazardsConfig

impact[source]#

Configuration for impact data.

Type:

ImpactConfig

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

switches

paths

other_input

infrastructure

hazards

impact

Methods

Attributes Documentation

model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

switches: SwitchConfig[source]#
paths: PathConfig[source]#
other_input: OtherInput[source]#
infrastructure: InfrastructureConfig[source]#
hazards: HazardsConfig[source]#
impact: ImpactConfig[source]#