Added setter for EtcdEntryBase.value
This commit is contained in:
parent
9f229eae27
commit
90f2b37084
1 changed files with 4 additions and 0 deletions
|
@ -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__))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue