microsoft / microsoft/typespec

[python] switch to `serialization` and `deserialization` callbacks in new dpg models

Open
#5,779 0 comments 0 reactions 1 assignee Claimed by @iscai-msft View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.