Comments (5)
We need to have special behaviour for the classes for which there is currently none, this is something else that requires special behaviour, the follow up comment doesn't necessarily mean that it's the same problem as the original issue
from python-betterproto.
Duplicate of #332
from python-betterproto.
Correct me if I'm wrong, but I don't believe these are duplicates: the linked issue says that the types aren't supported, while they do appear supported but have buggy behavior in the dictionary/JSON conversion cases.
from python-betterproto.
The follow-up comment on the linked issue is also about a codegen miscompilation, which is not the observed behavior here.
from python-betterproto.
Okay, thanks for clarifying!
from python-betterproto.
Related Issues (20)
- Error on accessing unset optional field HOT 1
- Enum field is set to an integer by default
- Project Tox (poe full-test) setup can break under normal usage HOT 1
- How to enable @dataclass(eq=True, repr=True)? HOT 4
- pydantic v2 support HOT 1
- Dataclasses generated despite `--python_betterproto_opt=pydantic_dataclasses` HOT 2
- Path to 2.0 release? HOT 3
- TypeError: object AsyncChannel can't be used in 'await' expression
- Strip enum prefixes during compilation HOT 1
- SerializeToString Error for `List of List` HOT 1
- Inconsistency with google protobuf when converting to dict/json with include_default_values=True
- Nested message with repeated field not in to_json when mutated after initialization
- gRPC server example not working HOT 1
- Code Quality: mypy check failed HOT 1
- Complex protos w/ Enums? HOT 2
- Empty fields which one of None HOT 3
- Missing import in generated code when using well known types HOT 1
- Generated code has non-existent relative import HOT 3
- Error parsing proto with map field HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-betterproto.