Skip to content

Commit

Permalink
Fix lint issues related to ordering of imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rhatgadkar-goog committed Jan 31, 2025
1 parent 5abf212 commit 013375f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion google/cloud/alloydb/connector/async_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@

import google.cloud.alloydb.connector.asyncpg as asyncpg
from google.cloud.alloydb.connector.client import AlloyDBClient
from google.cloud.alloydb.connector.enums import IPTypes, RefreshStrategy
from google.cloud.alloydb.connector.enums import IPTypes
from google.cloud.alloydb.connector.enums import RefreshStrategy
from google.cloud.alloydb.connector.instance import RefreshAheadCache
from google.cloud.alloydb.connector.lazy import LazyRefreshCache
from google.cloud.alloydb.connector.static import StaticConnectionInfoCache
Expand Down
10 changes: 6 additions & 4 deletions google/cloud/alloydb/connector/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,19 @@
from typing import Any, Optional, TYPE_CHECKING, Union

from google.auth import default
from google.auth.credentials import TokenState, with_scopes_if_required
from google.auth.credentials import TokenState
from google.auth.credentials import with_scopes_if_required
from google.auth.transport import requests

import google.cloud.alloydb.connector.pg8000 as pg8000
import google.cloud.alloydb_connectors_v1.proto.resources_pb2 as connectorspb
from google.cloud.alloydb.connector.client import AlloyDBClient
from google.cloud.alloydb.connector.enums import IPTypes, RefreshStrategy
from google.cloud.alloydb.connector.enums import IPTypes
from google.cloud.alloydb.connector.enums import RefreshStrategy
from google.cloud.alloydb.connector.instance import RefreshAheadCache
from google.cloud.alloydb.connector.lazy import LazyRefreshCache
import google.cloud.alloydb.connector.pg8000 as pg8000
from google.cloud.alloydb.connector.static import StaticConnectionInfoCache
from google.cloud.alloydb.connector.utils import generate_keys
import google.cloud.alloydb_connectors_v1.proto.resources_pb2 as connectorspb

if TYPE_CHECKING:
import ssl
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
from typing import Generator

from aiofiles.tempfile import TemporaryDirectory
import pytest
from mocks import FakeAlloyDBClient
from mocks import FakeCredentials
from mocks import FakeInstance
from mocks import metadata_exchange
import pytest

from google.cloud.alloydb.connector.utils import _write_to_file

Expand Down

0 comments on commit 013375f

Please sign in to comment.