Skip to content

Use OrderDict instead of dict in sanitize_for_serialization #2310

Open
@MHMK2002

Description

@MHMK2002

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions