etcd3ref/client.py
def add_member(self, urls):
        """
        Add a member into the cluster.

        :returns: new member
        :rtype: :class:`.Member`
        """
        try:
            member_add_response = self.__add_member(urls)
        except _InactiveRpcError as e:
            print("Exception {} happened, try to reconnect \n".format(e))
            self.reconnect()
            member_add_response = self.__add_member(urls)

        member = member_add_response.member
        return etcd3ref.members.Member(member.ID,
                                       member.name,
                                       member.peerURLs,
                                       member.clientURLs,
                                       etcd_client=self)

        Add a member into the cluster.

        :returns: new member
        :rtype: :class:`.Member`
        
Add a member into the cluster.
Add a member into the cluster .
def add_member(self, urls):
        try:
            member_add_response = self.__add_member(urls)
        except _InactiveRpcError as e:
            print("Exception {} happened, try to reconnect \n".format(e))
            self.reconnect()
            member_add_response = self.__add_member(urls)
        member = member_add_response.member
        return etcd3ref.members.Member(member.ID,
                                       member.name,
                                       member.peerURLs,
                                       member.clientURLs,
                                       etcd_client=self)
def add_member ( self , urls ) : try : member_add_response = self . __add_member ( urls ) except _InactiveRpcError as e : print ( "Exception {} happened, try to reconnect \n" . format ( e ) ) self . reconnect ( ) member_add_response = self . __add_member ( urls ) member = member_add_response . member return etcd3ref . members . Member ( member . ID , member . name , member . peerURLs , member . clientURLs , etcd_client = self )
Add a member into the cluster.
Add a member into the cluster .
"""
        Add a member into the cluster.

        :returns: new member
        :rtype: :class:`.Member`
        """
None
:class:`.Member`
self
urls