повысил надежность обработки API-ответов и ошибок БД
This commit is contained in:
13
db/constants.py
Normal file
13
db/constants.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""Константы слоя базы данных."""
|
||||
|
||||
USER_LOOKUP_FIELDS = frozenset(
|
||||
{
|
||||
"id",
|
||||
"clockify_user_id",
|
||||
"redmine_user_id",
|
||||
"clockify_email",
|
||||
"clockify_username",
|
||||
"redmine_email",
|
||||
"redmine_username",
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user