hop.configure

hop.configure.get_config_path(type: str = 'general')[source]

Determines the default location for auth configuration.

Parameters

type – The type of configuration data for which the path should be looked up. Recognized types are ‘general’ and ‘auth’.

Returns

The path to the requested configuration file.

Raises

ValueError – Unrecognized config type requested.