refactor(gateway): 调整PROTOCOL_VERSION导入位置

将PROTOCOL_VERSION从protocol导入列表末尾移至开头,优化导入顺序
This commit is contained in:
Kris 2026-05-13 16:41:23 +08:00
parent ede29b1809
commit d14239d4b7

View File

@ -1,4 +1,5 @@
from yuxi.gateway.protocol import (
PROTOCOL_VERSION,
ChannelLogoutRequest,
ChannelStartRequest,
ChannelStatusRequest,
@ -11,7 +12,6 @@ from yuxi.gateway.protocol import (
HelloOk,
NonEmptyString,
PositiveInt,
PROTOCOL_VERSION,
RequestFrame,
ResponseFrame,
handle_handshake,