check replica set address in mongo_client.py

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Specifically, for

      def primary(self) -> Optional[_Address]:
      

      should the return value be _Address, or Tuple[str, int]?

      see: https://github.com/mongodb/mongo-python-driver/pull/1346#discussion_r1287520367

            Assignee:
            Unassigned
            Reporter:
            Iris Ho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: