microsoft / microsoft/typespec
[python] switch to `serialization` and `deserialization` callbacks in new dpg models
Open
emitter:client:python
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
transferred from https://github.com/Azure/autorest.python/issues/2801
We currently have kwarg `type` that takes in a callback in our `dpg` models. This only handles deserialization, and we'd also like the ability to handle serialization. Since these models are all vendored, we can switch the callback to be one for `serialization` and one for `deserialization`
Contributor guide
Assessment
This issue has not been assessed yet.