(self,
                      selector,
                      server_selection_timeout=None,
                      address=None)
return random.choice(self.select_servers(selector,
                                                 server_selection_timeout,
                                                 address))
Like select_servers, but choose a random server if several match.
Like select_servers, but choose a random server if several match.
Like select_servers but choose a random server if several match .
def select_server(self,
                      selector,
                      server_selection_timeout=None,
                      address=None):
        """Like select_servers, but choose a random server if several match."""
        return random.choice(self.select_servers(selector,
                                                 server_selection_timeout,
                                                 address))
def select_server ( self , selector , server_selection_timeout = None , address = None ) : return random . choice ( self . select_servers ( selector , server_selection_timeout , address ) )