File tree Expand file tree Collapse file tree 9 files changed +12
-12
lines changed
google/cloud/sql/connector Expand file tree Collapse file tree 9 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 2222import aiohttp
2323from cryptography .hazmat .backends import default_backend
2424from cryptography .x509 import load_pem_x509_certificate
25+
2526from google .auth .credentials import TokenState
2627from google .auth .transport import requests
27-
2828from google .cloud .sql .connector .connection_info import ConnectionInfo
2929from google .cloud .sql .connector .connection_name import ConnectionName
3030from google .cloud .sql .connector .exceptions import AutoIAMAuthNotSupported
Original file line number Diff line number Diff line change 2828import google .auth
2929from google .auth .credentials import Credentials
3030from google .auth .credentials import with_scopes_if_required
31-
3231import google .cloud .sql .connector .asyncpg as asyncpg
3332from google .cloud .sql .connector .client import CloudSQLClient
3433from google .cloud .sql .connector .enums import DriverMapping
Original file line number Diff line number Diff line change 2424from typing import Any , Callable
2525
2626import aiohttp
27+
2728from google .auth .credentials import Credentials
2829from google .auth .credentials import Scoped
2930import google .auth .transport .requests
Original file line number Diff line number Diff line change 1414
1515import dns .asyncresolver
1616
17+ from google .cloud .sql .connector .connection_name import _is_valid_domain
18+ from google .cloud .sql .connector .connection_name import _parse_connection_name
1719from google .cloud .sql .connector .connection_name import (
1820 _parse_connection_name_with_domain_name ,
1921)
20- from google .cloud .sql .connector .connection_name import _is_valid_domain
21- from google .cloud .sql .connector .connection_name import _parse_connection_name
2222from google .cloud .sql .connector .connection_name import ConnectionName
2323from google .cloud .sql .connector .exceptions import DnsResolutionError
2424
Original file line number Diff line number Diff line change @@ -93,4 +93,4 @@ order-by-type = false
9393single-line-exclusions = [" typing" ]
9494
9595[tool .ruff .format ]
96- quote-style = " double"
96+ quote-style = " double"
Original file line number Diff line number Diff line change 3131from cryptography .hazmat .primitives import serialization
3232from cryptography .hazmat .primitives .asymmetric import rsa
3333from cryptography .x509 .oid import NameOID
34+
3435from google .auth import _helpers
3536from google .auth .credentials import Credentials
3637from google .auth .credentials import TokenState
37-
3838from google .cloud .sql .connector .connector import _DEFAULT_UNIVERSE_DOMAIN
3939from google .cloud .sql .connector .utils import generate_keys
4040from google .cloud .sql .connector .utils import write_to_file
Original file line number Diff line number Diff line change 1717
1818from aiohttp import ClientResponseError
1919from aioresponses import aioresponses
20- from google .auth .credentials import Credentials
2120from mocks import FakeCredentials
2221import pytest
2322
23+ from google .auth .credentials import Credentials
2424from google .cloud .sql .connector .client import CloudSQLClient
2525from google .cloud .sql .connector .utils import generate_keys
2626from google .cloud .sql .connector .version import __version__ as version
Original file line number Diff line number Diff line change 1919from typing import Union
2020
2121from aiohttp import ClientResponseError
22- from google .auth .credentials import Credentials
2322from mock import patch
2423import pytest # noqa F401 Needed to run the tests
2524
25+ from google .auth .credentials import Credentials
2626from google .cloud .sql .connector import Connector
2727from google .cloud .sql .connector import create_async_connector
2828from google .cloud .sql .connector import IPTypes
Original file line number Diff line number Diff line change 2020import datetime
2121
2222from conftest import SCOPES # type: ignore
23- import google .auth
24- from google .auth .credentials import Credentials
25- from google .auth .credentials import TokenState
26- import google .oauth2 .credentials
2723from mock import Mock
2824from mock import patch
2925import pytest # noqa F401 Needed to run the tests
3026
27+ import google .auth
28+ from google .auth .credentials import Credentials
29+ from google .auth .credentials import TokenState
3130from google .cloud .sql .connector .refresh_utils import _downscope_credentials
3231from google .cloud .sql .connector .refresh_utils import _exponential_backoff
3332from google .cloud .sql .connector .refresh_utils import _is_valid
3433from google .cloud .sql .connector .refresh_utils import _seconds_until_refresh
3534from google .cloud .sql .connector .refresh_utils import retry_50x
35+ import google .oauth2 .credentials
3636
3737
3838@pytest .fixture
You can’t perform that action at this time.
0 commit comments