linotp.model.config module

class linotp.model.config.Config(Key, Value, *args, **kwargs)

Bases: ConfigSchema

Description
Key
Type
Value
linotp.model.config.set_config(key: str, value: str, typ: str, description: Optional[str] = None, update: bool = False) None

create an intial config entry, if it does not exist

Parameters
  • key – the key

  • value – the value

  • description – the description of the key

Returns

nothing