如何返回任务ID

11 views
Skip to first unread message

lee...@gmail.com

unread,
Apr 25, 2019, 9:41:01 AM4/25/19
to pyspider-users
如何返回一个任务的ID,在任务的过程中print或者return出这个任务的id,用task['taskid']打印不出来。

bind...@gmail.com

unread,
May 4, 2019, 7:48:31 AM5/4/19
to pyspider-users
you may try print(self.task['taskid']).
Reply all
Reply to author
Forward
0 new messages