Skip to content

Commit 7dcf614

Browse files
committed
Revert breaking property on User class
1 parent 5a5164d commit 7dcf614

File tree

1 file changed

+0
-7
lines changed
  • simvue/api/objects/administrator

1 file changed

+0
-7
lines changed

simvue/api/objects/administrator/user.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,6 @@ def email(self) -> str:
219219
return self._get_attribute("user")["email"]
220220
return self._get_attribute("email")
221221

222-
@property
223-
def tenant(self) -> str:
224-
"""Retrieve user tenant."""
225-
if self.id and self.id.startswith("offline_"):
226-
return self._get_attribute("user")["tenant"]
227-
return self._get_attribute("tenant")
228-
229222
@email.setter
230223
@write_only
231224
@pydantic.validate_call

0 commit comments

Comments
 (0)