Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdds multiple host handling via DSN parsing #257
Conversation
Looks good! Would you mind squashing the commits? Thanks! |
Done |
Actually, looking closer, I don't think the parsing is correct. The general URI form is:
So, each comma-separated part has its own user/password/host/port tuple, while your implementation assumes that it's only the host part that is comma-separated sharing the other connection bits. |
If there is a way to do this by formatting a DSN in a way the urllib.parse can already handle, please feel free to document here and close this out. Thanks!