def on_srv_update(self, seedlist):
        """Process a new list of nodes obtained from scanning SRV records."""
        # We do no I/O holding the lock.
        with self._lock:
            if self._opened:
                self._process_srv_update(seedlist)
Process a new list of nodes obtained from scanning SRV records.
stackoverflow/venv/lib/python3.6/site-packages/pymongo/topology.py