microsoft / microsoft/typespec
[http-python-client] enhance additional properties support for python dpg model
Open
emitter:client:python
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
current behavior:
we treat all additional properties as raw data when serialization/deserialization, no extra typing/format info is taken into account. so, user could only use them with raw data. if user uses model/datetime/timedelta etc. type for additional properties, the serialization logic could do the serialization correctly but only with default behavior (e.g., datetime to rfc3339 format).
expected behavior:
serialization: support format etc.
deserialization: support deserialize with typing info (model type/datetime format/duration format etc).
Contributor guide
Assessment
This issue has not been assessed yet.