Fix NormalChannelData deserialization
This commit is contained in:
parent
b57c74eeb6
commit
b1e922a0fd
|
@ -78,7 +78,7 @@ class NormalChannelData(Channel, ChannelData[NormalChannelInfo]):
|
||||||
@classmethod
|
@classmethod
|
||||||
def deserialize(cls, data: JSON) -> "NormalChannelData":
|
def deserialize(cls, data: JSON) -> "NormalChannelData":
|
||||||
data["info"] = NormalChannelInfo.deserialize(data["info"])
|
data["info"] = NormalChannelInfo.deserialize(data["info"])
|
||||||
return cls.deserialize(data)
|
return super().deserialize(data)
|
||||||
|
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
|
|
@ -50,6 +50,7 @@ class LoginResult(SerializableAttrs):
|
||||||
revision: int
|
revision: int
|
||||||
revisionInfo: str
|
revisionInfo: str
|
||||||
minLogId: Long
|
minLogId: Long
|
||||||
|
# TODO Consider catching SerializerError for channelList entries
|
||||||
|
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
|
Loading…
Reference in New Issue