Skip to content

Commit

Permalink
Update request.py
Browse files Browse the repository at this point in the history
Fix E721
  • Loading branch information
Smartappli authored Dec 1, 2024
1 parent 8823b6e commit 75ad37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/request/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ def _deposit_result_l2(
f"accept_by_depositing_result can only be run on {UserCodeStatusCollection} not "
f"{user_code_status_change.linked_obj.object_type}"
)
if not type(user_code_status_change) == UserCodeStatusChange:
if not type(user_code_status_change) is UserCodeStatusChange:
raise TypeError(
f"accept_by_depositing_result can only be run on {UserCodeStatusChange} not "
f"{type(user_code_status_change)}"
Expand Down

0 comments on commit 75ad37f

Please sign in to comment.