From aa8d01aa19e30cef5dcd5325c343980c49fd88c5 Mon Sep 17 00:00:00 2001 From: Diego J Date: Sun, 5 Feb 2017 02:52:03 +0100 Subject: [PATCH] Add remove due datetime from a card --- trello/card.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/trello/card.py b/trello/card.py index 676e0312..7f2b2864 100644 --- a/trello/card.py +++ b/trello/card.py @@ -485,6 +485,13 @@ def set_due(self, due): self._set_remote_attribute('due', datestr) self.due = datestr + def remove_due(self): + """ + Remove the due datetime of this card. + """ + self._set_remote_attribute('due', None) + self.due = '' + def set_pos(self, pos): """ Update card position in list