get_remotes#
- brainglobe_atlasapi.config.get_remotes(path=None)[source]#
Return the configured remotes, in resolution order.
Falls back to the built-in defaults when the section is absent, so a configuration file written by an earlier version keeps working without the user editing it. The file itself is never rewritten.
- Parameters:
path (Path object, optional) – Path of the config file. Defaults to the standard location.
- Returns:
Mapping of remote key to remote, ordered as declared, with any trailing slash removed. The key is only a label.
- Return type:
dict