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

XMLWordPrintableJSON

    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Max N/A
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: