Skip to content

Fix bug in disabling token auth via function call

This MR fixes an issue disabling token authorisation (via token=False) when using the functional interface, e.g:

from igwn_auth_utils import get
get(..., token=False)

The fix is to pass the relevant auth keywords to the Session constructor when creating one on-the-fly so that the Session auth doesn't interfere with the request auth arguments.

Merge request reports