libconfig.Config.get_option_type

Config.get_option_type(key, subkey)

Get the type of a particular option.

Parameters:
  • key (str) – First identifier of the option.
  • subkey (str) – Second identifier of the option.
Returns:

str - description of the type.

Raise:
NotRegisteredError:
 If key or subkey do not define any option.