Make some missing inbound properties optional
This commit is contained in:
parent
b51ce9bc96
commit
ce5006269f
@ -13,6 +13,8 @@
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
from typing import Optional
|
||||
|
||||
from attr import dataclass
|
||||
|
||||
from ..openlink.open_link_type import OpenChannelUserPerm
|
||||
@ -36,12 +38,12 @@ class ChannelUserInfo(DisplayUserInfo):
|
||||
|
||||
@dataclass
|
||||
class NormalChannelUserInfo(ChannelUserInfo):
|
||||
countryIso: str
|
||||
accountId: int
|
||||
statusMessage: str
|
||||
linkedServices: str
|
||||
ut: int
|
||||
suspended: bool
|
||||
countryIso: Optional[str] = None # NOTE Made optional
|
||||
suspended: Optional[bool] = None # NOTE Made optional
|
||||
|
||||
|
||||
@dataclass
|
||||
|
Loading…
Reference in New Issue
Block a user