Open zbarry opened 5 years ago
Yes you are quite right, the line is
auth = conf.get('auth', 'intake.auth.base.BaseAuth')
but the default is 'auth': {'cls': 'intake.auth.base.BaseAuth'}
, so this probably doesn't get called normally.
intake.tests.test_config::test_conf_auth
seems to test passing auth in the config, and does indeed use cls
, so it would be good to work out where the difference is coming from, why using just the string works for you.
Are you still interested in fixing this?
I'm using Intake version 0.5.3 from conda-forge.
From this section of the docs: https://intake.readthedocs.io/en/latest/tools.html#configuration
In using this formulation of the intake server config provided:
I get this error message when starting
intake-server
:Changing that nested
auth
section to justauth: "intake.auth.base.BaseAuth"
solves the problem. I'm guessing that the docs are describing an old way to do it.