def tasks(self, from_date=DEFAULT_DATETIME):
<EOL>ts = int(datetime_to_utc(from_date).timestamp()) or <NUM_LIT:1><EOL>consts = {<EOL>self.PMODIFIED_START: ts<EOL>}<EOL>attachments = {<EOL>self. PPROJECTS: True<EOL>}<EOL>params = {<EOL>self.PCONSTRAINTS: consts,<EOL>self.PATTACHMENTS: attachments,<EOL>self.PORDER: self.VOUTDATED,<EOL>}<EOL>while True:<EOL><INDENT>r = self._call(self.MANIPHEST_TASKS, params)<EOL>yield r<EOL>j = json.loads(r)<EOL>after = j['<STR_LIT:result>']['<STR_LIT>']['<STR_LIT>']<EOL>if not after:<EOL><INDENT>break<EOL><DEDENT>params[self.PAFTER] = after<EOL><DEDENT>
Retrieve tasks.

        :param from_date: retrieve tasks that where updated from that date;
            dates are converted epoch time.