74 @param project reference to the project object (Project) |
74 @param project reference to the project object (Project) |
75 @param description explanatory text of the task (string) |
75 @param description explanatory text of the task (string) |
76 @param uid unique id of the task (string) |
76 @param uid unique id of the task (string) |
77 @param parentUid unique id of the parent task (string) |
77 @param parentUid unique id of the parent task (string) |
78 """ |
78 """ |
79 super(Task, self).__init__() |
79 super().__init__() |
80 |
80 |
81 self.summary = summary |
81 self.summary = summary |
82 self.description = description |
82 self.description = description |
83 if priority in [0, 1, 2]: |
83 if priority in [0, 1, 2]: |
84 self.priority = priority |
84 self.priority = priority |