Skip to content

Commit

Permalink
Update request.py
Browse files Browse the repository at this point in the history
Lint
  • Loading branch information
Smartappli authored Dec 1, 2024
1 parent 9d750a1 commit 39c4561
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) is UserCodeStatusChange:
if type(user_code_status_change) is not 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 39c4561

Please sign in to comment.