Skip to content

Commit

Permalink
Merge pull request #1056 from RogerSelwyn/master
Browse files Browse the repository at this point in the history
Expose task status
  • Loading branch information
alejcas authored Apr 12, 2024
2 parents 094399b + 47ff33d commit 855dfc2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions O365/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,15 @@ def due(self, value):
self.__due = value
self._track_changes.add(self._cc('dueDateTime'))

@property
def status(self):
"""Status of task
:getter: get status
:type: string
"""
return self.__status

@property
def completed(self):
""" Completed Time of task
Expand Down
9 changes: 9 additions & 0 deletions O365/tasks_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,15 @@ def is_reminder_on(self, value):
self.__is_reminder_on = value
self._track_changes.add(self._cc("isReminderOn"))

@property
def status(self):
"""Status of task
:getter: get status
:type: string
"""
return self.__status

@property
def completed(self):
"""Completed Time of task.
Expand Down

0 comments on commit 855dfc2

Please sign in to comment.