databroker.lookup_config¶
-
databroker.
lookup_config
(name)[source]¶ Search for a databroker configuration file with a given name.
For exmaple, the name ‘example’ will cause the function to search for:
~/.config/databroker/example.yml
{python}/../etc/databroker/example.yml
/etc/databroker/example.yml
where
{python}
is the location of the current Python binary, as reported bysys.executable
. It will use the first match it finds.- Parameters
- namestring
- Returns
- configdict