Skip to content

Commit

Permalink
feat: update dependencies for project
Browse files Browse the repository at this point in the history
  • Loading branch information
rolin999 committed Nov 21, 2024
1 parent c81b8ce commit db478e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bk-user/bkuser/apps/audit/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
# We undertake not to change the open source license (MIT license) applicable
# to the current version of the project delivered to anyone in the future.

from blue_krill.data_types.enum import EnumField, StructuredEnum
from blue_krill.data_types.enum import EnumField, StrStructuredEnum
from django.utils.translation import gettext_lazy as _


class ObjectTypeEnum(str, StructuredEnum):
class ObjectTypeEnum(StrStructuredEnum):
"""操作对象类型"""

DATA_SOURCE = EnumField("data_source", label=_("数据源"))
Expand All @@ -31,7 +31,7 @@ class ObjectTypeEnum(str, StructuredEnum):
VIRTUAL_USER = EnumField("virtual_user", label=_("虚拟用户"))


class OperationEnum(str, StructuredEnum):
class OperationEnum(StrStructuredEnum):
"""操作行为"""

# 数据源
Expand Down

0 comments on commit db478e1

Please sign in to comment.