Added setter for EtcdEntryBase.value

This commit is contained in:
ahmadbilalkhalid 2019-10-30 20:21:41 +05:00
parent 9f229eae27
commit 90f2b37084

View file

@ -20,6 +20,10 @@ class SpecificEtcdEntryBase:
def value(self): def value(self):
return self.original_keys() return self.original_keys()
@value.setter
def value(self, v):
self.__dict__ = v
def __repr__(self): def __repr__(self):
return str(dict(self.__dict__)) return str(dict(self.__dict__))