Skip to content

Commit

Permalink
chore: fix typo in deprecation warning and docstring (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon authored Jan 31, 2022
1 parent 17994cc commit 6ba866a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion google/cloud/sql/connector/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def connect(
ip_type = kwargs.pop("ip_types")
logger.warning(
"Deprecation Warning: Parameter `ip_types` is deprecated and may be removed"
"in a future release. Please use `ip_type` instead."
" in a future release. Please use `ip_type` instead."
)
else:
ip_type = kwargs.pop("ip_type", self._ip_type)
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/sql/connector/instance_connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def _connect_with_pg8000(
def _connect_with_pytds(
self, ip_address: str, ctx: ssl.SSLContext, **kwargs: Any
) -> "pytds.Connection":
"""Helper function to create a pg8000 DB-API connection object.
"""Helper function to create a pytds DB-API connection object.
:type ip_address: str
:param ip_address: A string containing an IP address for the Cloud SQL
Expand Down

0 comments on commit 6ba866a

Please sign in to comment.