googleapis / google-auth-library-python

Google Auth Python Library
https://googleapis.dev/python/google-auth/latest/
Apache License 2.0
771 stars 304 forks source link

feat: implement base classes for credentials and request sessions #1551

Closed ohmayr closed 1 month ago

ohmayr commented 1 month ago

This PR implements base classes for credentials and request sessions to capture the common logic between synchronous and asynchronous code.

conventional-commit-lint-gcf[bot] commented 1 month ago

🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!

-- conventional-commit-lint bot https://conventionalcommits.org/

parthea commented 1 month ago
nox > flake8 --import-order-style=google --application-import-names=google,tests,system_tests google tests tests_async
google/auth/credentials.py:26:1: I100 Import statements are in the wrong order. 'from google.auth._credentials_base import _BaseCredentials' should be before 'from google.auth._refresh_worker import RefreshThreadManager'
google/auth/transport/requests.py:41:1: I100 Import statements are in the wrong order. 'import google.auth.transport._mtls_helper' should be before 'from google.auth.transport._requests_base import _BaseAuthorizedSession'
nox > Command flake8 --import-order-style=google --application-import-names=google,tests,system_tests google tests tests_async failed with exit code 1
nox > Session lint failed.