Преглед на файлове

Disable some fields that may not exist

Tulir Asokan преди 2 години
родител
ревизия
99b7147a66
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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