Browse Source

Disable some fields that may not exist

Tulir Asokan 2 years ago
parent
commit
99b7147a66
1 changed files with 3 additions and 3 deletions
  1. 3 3
      mauigpapi/types/account.py

+ 3 - 3
mauigpapi/types/account.py

@@ -66,12 +66,12 @@ class BaseFullResponseUser(BaseResponseUser, SerializableAttrs):
     national_number: Optional[int] = None
 
     # TODO enum?
-    allowed_commenter_type: str
+    allowed_commenter_type: Optional[str] = None
 
     # These are at least in login and current_user, might not be in other places though
-    is_business: bool
+    # is_business: bool
     # TODO enum?
-    account_type: int
+    # account_type: int
 
 
 @dataclass