microsoft / microsoft/typespec

[http-python-client] enhance additional properties support for python dpg model

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

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.