Loading app/ADL/client/fs.py +2 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ from . import config logger = logging.getLogger(__name__) class BearerAuth(namedtuple("BearerAuth", ["token", "encoding"])): class BearerAuth(namedtuple("BearerAuth", ["token", "encoding"]), BasicAuth): """Http basic authentication helper.""" def __new__(cls, token: str = "", encoding: str = "latin1") -> "BearerAuth": Loading Loading @@ -130,7 +130,7 @@ class ARMFs(HTTPFileSystem): cache_type=cache_type or self.cache_type, cache_options=cache_options or self.cache_options, loop=self.loop, auth=BearerAuth(self.auth_data['token']) auth=BearerAuth(self.auth_data['id_token']), **kw, ) Loading Loading
app/ADL/client/fs.py +2 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ from . import config logger = logging.getLogger(__name__) class BearerAuth(namedtuple("BearerAuth", ["token", "encoding"])): class BearerAuth(namedtuple("BearerAuth", ["token", "encoding"]), BasicAuth): """Http basic authentication helper.""" def __new__(cls, token: str = "", encoding: str = "latin1") -> "BearerAuth": Loading Loading @@ -130,7 +130,7 @@ class ARMFs(HTTPFileSystem): cache_type=cache_type or self.cache_type, cache_options=cache_options or self.cache_options, loop=self.loop, auth=BearerAuth(self.auth_data['token']) auth=BearerAuth(self.auth_data['id_token']), **kw, ) Loading