Jaymon / dsnparse

Easily parse DSN urls (connection strings) in Python
MIT License
21 stars 8 forks source link

Document "port" property existence #6

Closed SamFleming closed 6 years ago

SamFleming commented 6 years ago

From simply reading the docs it isn't obvious that the .port property exists and is available for usage, it's only obvious when reading the tests https://github.com/Jaymon/dsnparse/blob/master/dsnparse_test.py#L215

As much as this seems pretty trivial, I've seen this result in developers manually splitting .hostloc by : which isn't required.

Jaymon commented 6 years ago

Nice catch! Thanks for the update :)