Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use OrderDict instead of dict in sanitize_for_serialization #2310

Open
MHMK2002 opened this issue Dec 12, 2024 · 0 comments
Open

Use OrderDict instead of dict in sanitize_for_serialization #2310

MHMK2002 opened this issue Dec 12, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@MHMK2002
Copy link

In the sanitize_for_serialization function in api_client.py, the object may be of type OrderedDict, where maintaining the user-defined order is important. However, at the end of the function, the object is converted to a standard dict, causing the order to be lost.

@MHMK2002 MHMK2002 added the kind/bug Categorizes issue or PR as related to a bug. label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant