danielgtaylor / python-betterproto

Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC
MIT License
1.5k stars 211 forks source link

why I use from_json method Missing field? #572

Closed tiam-bloom closed 5 months ago

tiam-bloom commented 5 months ago

Summary

from_json method Missing field

Reproduction Steps

image

Expected Results

I want to get a Complete data

Actual Results

I use from_json missing headers field, is my proto file question?

System Information

❯ protoc --version libprotoc 26.1

❯ python --version Python 3.12.0

❯ pip show betterproto Name: betterproto Version: 2.0.0b6 Summary: A better Protobuf / gRPC generator & library Home-page: https://github.com/danielgtaylor/python-betterproto Author: Daniel G. Taylor Author-email: danielgtaylor@gmail.com License: MIT Location: F:\ProgramsDev\Python\Python312\Lib\site-packages Requires: grpclib, python-dateutil Required-by: TikTokLive

Checklist

tiam-bloom commented 5 months ago

I'm Sorry It's my question