X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/f58549e864220709de81b141b0343195e70fc6f5..fcd3eb3f048c5d722757429345d1b99b343a43f6:/tasklib/task.py?ds=inline 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