Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

[python] persist changes to dict properties - #3284

Closed
Yuchao Yan (msyyc) wants to merge 8 commits into
mainfrom
auto-iscai-msft-python/fixDictSetting
Closed

[python] persist changes to dict properties#3284
Yuchao Yan (msyyc) wants to merge 8 commits into
mainfrom
auto-iscai-msft-python/fixDictSetting

Conversation

@msyyc

@msyyc Yuchao Yan (msyyc) commented Dec 16, 2025

Copy link
Copy Markdown
Member

Auto PR for microsoft/typespec#9222

move to #3287

# since the deserialize function is not roundtrippable, once we deserialize
# the serialized version is the same
assert model_with_callback["prop"] == [1.3, 2.4, 3.5]
assert model_with_callback["prop"] == ["1.3", "2.4", "3.5"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yuchao Yan (@msyyc) Chenjie Shi (@tadelesh) note the changes in this file. Our deserialization is now roundtrippable. I think this behavior change is valid, please let me know your thoughts

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense to me.

@msyyc
Yuchao Yan (msyyc) deleted the auto-iscai-msft-python/fixDictSetting branch December 19, 2025 05:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants