Skip to content

Commit

Permalink
fix: typo in exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jorwoods committed May 30, 2024
1 parent e8b01dd commit 6dcabb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tableauserverclient/models/permissions_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __and__(self, other: "PermissionsRule") -> "PermissionsRule":

def __or__(self, other: "PermissionsRule") -> "PermissionsRule":
if self.grantee != other.grantee:
raise ValueError("Cannot AND two permissions rules with different grantees")
raise ValueError("Cannot OR two permissions rules with different grantees")
capabilities = set((*self.capabilities.keys(), *other.capabilities.keys()))
new_capabilities = {}
for capability in capabilities:
Expand Down

0 comments on commit 6dcabb2

Please sign in to comment.