KVHandler

KVHandler

class KVHandler[source]

Bases: abc.ABC

Handler for key/value pairs found for example in environment variables or INI files

Note that the key is not stored/processed in this class.

Methods

handle

Processes

List of members of KVHandler

abstract handle(value, state)[source]

Processes

Parameters
  • value (str) – Value to parse and process

  • state (State) – State to update

Return type

Optional[Err]

Returns

An error if an error occurred