-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: 4.4.1
-
Component/s: Connection String, Python Support, URI Options
-
None
-
1
Now pymongo library have an method called "parse_uri" inside of package uri_parser package. As a developer, I found an problem, that if I have to unparse connection uri and change some fields inside, I have to do a lot of extra actions.
My proposition is:
1. Make parse_uri method to return dataclass with needed fields.
2. Create new method, called "build_uri" or "unparse_uri", or something like that. This method will build connection uri from given dataclass.
- duplicates
-
PYTHON-1687 Allow uri_parser to render a working connection string after validation
- Backlog