From 1ff124d72715aef2e7046a9845647cc6482b0427 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Thu, 24 Dec 2015 15:10:09 +0100 Subject: [PATCH] LazyUUIDTask: Implement 'saved' property --- tasklib/lazy.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasklib/lazy.py b/tasklib/lazy.py index 260acdf..e85a204 100644 --- a/tasklib/lazy.py +++ b/tasklib/lazy.py @@ -39,6 +39,13 @@ class LazyUUIDTask(object): def __hash__(self): return self['uuid'].__hash__() + @property + def saved(self): + """ + Implementation of the 'saved' property. Always returns True. + """ + return True + def replace(self): """ Performs conversion to the regular Task object, referenced by the -- 2.39.5