The panoptes.utils.config.client.get_config function currently accepts a default keyword to return a default. This should be changed to work without the keyword to mimic a standard dict.get.
Currently:
from panoptes.utils.config.client import get_config
foo = get_config('foo', default='bar')
Desired:
from panoptes.utils.config.client import get_config
foo = get_config('foo', 'bar')
The
panoptes.utils.config.client.get_config
function currently accepts adefault
keyword to return a default. This should be changed to work without the keyword to mimic a standarddict.get
.Currently:
Desired: