diff --git a/src/api/bkuser_core/categories/plugins/local/syncer.py b/src/api/bkuser_core/categories/plugins/local/syncer.py index 9b272805d..31925cf48 100644 --- a/src/api/bkuser_core/categories/plugins/local/syncer.py +++ b/src/api/bkuser_core/categories/plugins/local/syncer.py @@ -176,7 +176,11 @@ def _judge_data_all_none(raw_data: list) -> bool: return all(x is None for x in raw_data) def _department_profile_relation_handle( - self, is_overwrite, department_groups, profile_id, should_deleted_department_profile_relation_ids + self, + is_overwrite: bool, + department_groups: str, + profile_id: int, + should_deleted_department_profile_relation_ids: list, ): cell_parser = DepartmentCellParser(self.category_id) # 已存在的用户-部门关系