Добавил новый датакласс для Деятельности трудочасов и настроил их динамическую подгрузку из Redmine
This commit is contained in:
@@ -24,4 +24,4 @@ class ClockifyConfig:
|
||||
return "%Y-%m-%dT%H:%M:%SZ"
|
||||
|
||||
def update_time_entry(self, activity_id):
|
||||
return f"/workspaces/{self.workspace_id}/time-entries/{activity_id}"
|
||||
return f"/workspaces/{self.workspace_id}/time-entries/{activity_id}"
|
||||
|
||||
@@ -13,4 +13,8 @@ class RedmineConfig:
|
||||
|
||||
@property
|
||||
def datetime_format(self):
|
||||
return "%Y-%m-%d"
|
||||
return "%Y-%m-%d"
|
||||
|
||||
@property
|
||||
def time_entry_activities(self):
|
||||
return "/enumerations/time_entry_activities.json"
|
||||
|
||||
Reference in New Issue
Block a user