Make some missing inbound properties optional

This commit is contained in:
Andrew Ferrazzutti 2022-04-05 02:12:51 -04:00
parent b51ce9bc96
commit ce5006269f
1 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@
# #
# You should have received a copy of the GNU Affero General Public License # 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/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
from typing import Optional
from attr import dataclass from attr import dataclass
from ..openlink.open_link_type import OpenChannelUserPerm from ..openlink.open_link_type import OpenChannelUserPerm
@ -36,12 +38,12 @@ class ChannelUserInfo(DisplayUserInfo):
@dataclass @dataclass
class NormalChannelUserInfo(ChannelUserInfo): class NormalChannelUserInfo(ChannelUserInfo):
countryIso: str
accountId: int accountId: int
statusMessage: str statusMessage: str
linkedServices: str linkedServices: str
ut: int ut: int
suspended: bool countryIso: Optional[str] = None # NOTE Made optional
suspended: Optional[bool] = None # NOTE Made optional
@dataclass @dataclass