Убрал лишние поля у класса. Выделил важные сообщения разными цветами
This commit is contained in:
@@ -8,9 +8,7 @@ from enums import ClockifyProjects, VetroProjects
|
||||
class Activity:
|
||||
id: str
|
||||
vetro_project_id: VetroProjects
|
||||
vetro_project_title: str
|
||||
task_id: int
|
||||
task_title: str
|
||||
tag_id: str
|
||||
description: str
|
||||
project_id: ClockifyProjects
|
||||
@@ -20,7 +18,7 @@ class Activity:
|
||||
is_tracked: bool = False
|
||||
|
||||
def __str__(self):
|
||||
return f'{self.date_start + timedelta(hours=3)}|{self.vetro_project_title}|{self.description} для задачи "{self.task_title}"'
|
||||
return f'{self.date_start + timedelta(hours=3)}|{self.description} для задачи #{self.task_id}'
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user