Skip to content

Commit

Permalink
fix:修复flake8校验失败
Browse files Browse the repository at this point in the history
  • Loading branch information
yunlong098 committed Dec 26, 2024
1 parent 1ee50b0 commit be61aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saas/backend/biz/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def get_system_manager_members(self, system_id: str) -> str:
return Role.objects.get(type=RoleType.SYSTEM_MANAGER.value, code=system_id).members

@cachedmethod(timeout=60) # 缓存1分钟
def get_grade_manager_members_by_group_id(self, group_id: int, fallback_to_parent_if_empty = True) -> str:
def get_grade_manager_members_by_group_id(self, group_id: int, fallback_to_parent_if_empty=True) -> str:
"""获取分级管理员,如果为空,获取父级管理员"""
current_role = self.svc.get_role_by_group_id(group_id)

Expand Down

0 comments on commit be61aaa

Please sign in to comment.