Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon committed Jan 1, 2024
1 parent 1460ba0 commit 2b44528
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions google/api/field_behavior_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# type: ignore
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/api/field_behavior.proto
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/alloydb/connector/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def connect_async(self, instance_uri: str, driver: str, **kwargs: Any) ->

def metadata_exchange(
self, ip_address: str, ctx: ssl.SSLContext, enable_iam_auth: bool, driver: str
):
) -> ssl.SSLSocket:
# Create socket and wrap with SSL/TLS context
sock = ctx.wrap_socket(
socket.create_connection((ip_address, SERVER_PROXY_PORT)),
Expand All @@ -186,7 +186,7 @@ def metadata_exchange(

# form metadata exchange request
req = connectorspb.MetadataExchangeRequest(
user_agent=self._client._user_agent + f"+{driver}",
user_agent=self._client._user_agent + f"+{driver}", # type: ignore
auth_type=auth_type,
oauth2_token=self._credentials.token,
)
Expand Down

0 comments on commit 2b44528

Please sign in to comment.