Skip to content

Commit 59e177b

Browse files
committed
fix(pb): unexpected error on 'upload_grp_image'
1 parent a05321c commit 59e177b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lagrange/pb/highway/comm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class AudioExtInfo(ProtoStruct):
3535

3636
class ExtBizInfo(ProtoStruct):
3737
pic: PicExtInfo = proto_field(1, default_factory=PicExtInfo)
38-
video: VideoExtInfo = proto_field(2, default_factory=VideoExtInfo)
39-
audio: AudioExtInfo = proto_field(3, default_factory=AudioExtInfo)
38+
video: Optional[VideoExtInfo] = proto_field(2, default_factory=VideoExtInfo)
39+
audio: Optional[AudioExtInfo] = proto_field(3, default_factory=AudioExtInfo)
4040
bus_type: Optional[int] = proto_field(4, default=None)
4141

4242

0 commit comments

Comments
 (0)