diff options
Diffstat (limited to 'ick2/persistent.py')
-rw-r--r-- | ick2/persistent.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ick2/persistent.py b/ick2/persistent.py index d323db7..d865207 100644 --- a/ick2/persistent.py +++ b/ick2/persistent.py @@ -45,9 +45,6 @@ class PersistentStateInterface: # pragma: no cover def write_resource(self, token, kind, rid, resource): raise NotImplementedError() - def update_resource(self, token, kind, rid, resource): - raise NotImplementedError() - def remove_resource(self, token, kind, rid): raise NotImplementedError() @@ -75,9 +72,6 @@ class MemoryPersistentState(PersistentStateInterface): self._res[kind] = {} self._res[kind][rid] = resource - def update_resource(self, token, kind, rid, resource): - self.write_resource(token, kind, rid, resource) - def remove_resource(self, token, kind, rid): if kind not in self._res or rid not in self._res[kind]: raise ick2.NotFound(kind=kind, rid=rid) @@ -107,9 +101,6 @@ class MuckPersistentState(PersistentStateInterface): self._res[kind] = {} self._res[kind][rid] = resource - def update_resource(self, token, kind, rid, resource): - self.write_resource(token, kind, rid, resource) - def remove_resource(self, token, kind, rid): if kind not in self._res or rid not in self._res[kind]: raise ick2.NotFound(kind=kind, rid=rid) |