X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/945af7d4fcb8195b5ee88a37c109cebc7ad1b210..fcd3eb3f048c5d722757429345d1b99b343a43f6:/tasklib/task.py diff --git a/tasklib/task.py b/tasklib/task.py index 6e3e432..7c4cdff 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -309,6 +309,10 @@ class Task(TaskResource): def pending(self): return self['status'] == six.text_type('pending') + @property + def recurring(self): + return self['status'] == six.text_type('recurring') + @property def active(self): return self['start'] is not None