Skip to content

Commit

Permalink
add port attribute to url (simphony#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
razekmh committed Jul 6, 2022
1 parent ea959c1 commit a62043d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/jupyter/multiple_wrappers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"db_name = input(\"Database name: \")\n",
"host = input(\"Host: \")\n",
"port = int(input(\"Port [5432]: \") or 5432)\n",
"postgres_url = str(URL.create(\"postgresql\", user, pwd, host=host, database=db_name))"
"postgres_url = str(URL.create(\"postgresql\", user, pwd, host=host, port=port, database=db_name))"
]
},
{
Expand Down

0 comments on commit a62043d

Please sign in to comment.