From a33c483165e64a2b132e32b54f31a71c2a4e761b Mon Sep 17 00:00:00 2001 From: Eduard Date: Wed, 21 May 2025 13:20:28 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE?= =?UTF-8?q?=D1=80=20RedmineConfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/redmine.py | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/config/redmine.py b/config/redmine.py index 19baf1b..645e68e 100644 --- a/config/redmine.py +++ b/config/redmine.py @@ -1,20 +1,7 @@ class RedmineConfig: - @property - def base_url(self): - return "https://redmine.sbps.ru" - - @property - def time_entries_url(self): - return "/time_entries.json" - - @property - def my_account_url(self): - return "/my/account.json" - - @property - def datetime_format(self): - return "%Y-%m-%d" - - @property - def time_entry_activities(self): - return "/enumerations/time_entry_activities.json" + def __init__(self): + self.base_url = "https://redmine.sbps.ru" + self.time_entries_url = "/time_entries.json" + self.my_account_url = "/my/account.json" + self.datetime_format = "%Y-%m-%d" + self.time_entry_activities = "/enumerations/time_entry_activities.json"