Skip to content

Commit

Permalink
fix: remove base class to avoid type conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmayr committed Oct 30, 2024
1 parent b4efa64 commit 7d67d01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/auth/transport/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def proxy_manager_for(self, *args, **kwargs):
return super(_MutualTlsOffloadAdapter, self).proxy_manager_for(*args, **kwargs)


class AuthorizedSession(requests.Session, _BaseAuthorizedSession):
class AuthorizedSession(requests.Session):
"""A Requests Session class with credentials.
This class is used to perform requests to API endpoints that require
Expand Down Expand Up @@ -390,7 +390,7 @@ def __init__(
default_host=None,
):
super(AuthorizedSession, self).__init__()
_BaseAuthorizedSession.__init__(self, credentials)
self.credentials = credentials
self._refresh_status_codes = refresh_status_codes
self._max_refresh_attempts = max_refresh_attempts
self._refresh_timeout = refresh_timeout
Expand Down

0 comments on commit 7d67d01

Please sign in to comment.