danielgtaylor / danielgtaylor/python-betterproto
Protoc proto file , AccountInfo -> CcountInfo, why and how to solve
Open
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
message LoginInfo {
optional string login_channel = 1;
optional string open_id = 2; //
optional DeviceInfo deviceInfo = 3;
optional AccountInfo accountInfo = 4;
optional int64 robotIntoId = 5;
}
@dataclass
class LoginInfo(betterproto.Message):
login_channel: str = betterproto.string_field(1)
open_id: str = betterproto.string_field(2)
device_info: "DeviceInfo" = betterproto.message_field(3)
account_info: "CcountInfo" = betterproto.message_field(4)
robot_into_id: int = betterproto.int64_field(5)
Contributor guide
Assessment
This issue has not been assessed yet.