akkudoktoreos.server.eos.fastapi_config_put_key

akkudoktoreos.server.eos.fastapi_config_put_key(path: str = Path(PydanticUndefined), value: Any | None = Body(None)) ConfigEOS

Update a nested key or index in the config model.

Parameters:
  • path (str) – The nested path to the key (e.g., “general/latitude” or “optimize/nested_list/0”).

  • value (Any) – The new value to assign to the key or index at path.

Returns:

The current configuration after the update.

Return type:

configuration (ConfigEOS)