PriceSpec¶ class flexcore.config.schema.PriceSpec(*, value: float | list[float], units: str)¶ A native price for one energy carrier or fuel: a number and its units. model_config = {'extra': 'forbid'}¶ Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].