Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3897

Dataclass as URI parse method return data. Build uri method.

    • 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mesiriak.work@gmail.com Max N/A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: