def METHOD_NAME(self, obj: Category) -> dict:
    return _NestedPublicDepartmentSerializer(obj.departments.filter(categorydepartment__is_responsible=True),
                                             many=True).data