Skip to content

Commit 5288032

Browse files
authored
(fix): Cast db connection port to int (#1488)
1 parent 4ada036 commit 5288032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/_databases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _get_connection_attributes_from_secrets_manager(
9090
user=secret_value["username"],
9191
password=secret_value["password"],
9292
host=secret_value["host"],
93-
port=secret_value["port"],
93+
port=int(secret_value["port"]),
9494
database=_dbname,
9595
ssl_context=None,
9696
)

0 commit comments

Comments
 (0)