def __repr__(self): key = self.key if not key.endswith(u'/'): key += u'/' return gen_repr(self.__class__, u'{0}[{1}]', self.key, len(self.nodes), short=True)
def __repr__(self): options = [('modified_index', self.modified_index), ('created_index', self.created_index), ('ttl', self.ttl), ('expiration', self.expiration)] return gen_repr(self.__class__, u'{0}={1}', self.key, self.value, options=options)
def __repr__(self): return gen_repr(self.__class__, u'{0}', self.node, options=[ ('prev_node', self.prev_node), ('etcd_index', self.etcd_index), ('raft_index', self.raft_index), ('raft_term', self.raft_term), ])
def __repr__(self): return gen_repr(self.__class__, u'{0}', self, dense=True)
def __repr__(self): return gen_repr(self.__class__, u"'{0}'", self.url, short=True)