Skip to content

Commit

Permalink
Update policy.py
Browse files Browse the repository at this point in the history
Fix E721
  • Loading branch information
Smartappli authored Dec 1, 2024
1 parent 9217f98 commit 8823b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/service/policy/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def is_owned(
def is_met(
self, context: AuthedServiceContext, action_object: ActionObject
) -> bool:
return type(action_object.syft_action_data) == self.type and self.is_owned(
return type(action_object.syft_action_data) is self.type and self.is_owned(
context, action_object
)

Expand Down

0 comments on commit 8823b6e

Please sign in to comment.