Skip to content

Commit 6dcabb2

Browse files
committed
fix: typo in exception
1 parent e8b01dd commit 6dcabb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tableauserverclient/models/permissions_item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __and__(self, other: "PermissionsRule") -> "PermissionsRule":
7171

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

0 commit comments

Comments
 (0)