Skip to content

Set default yaml.dump sort_keys to False to respect dictionary order#769

Merged
lafrech merged 2 commits intomarshmallow-code:devfrom
vorticity:fix-yaml-ordering
May 12, 2022
Merged

Set default yaml.dump sort_keys to False to respect dictionary order#769
lafrech merged 2 commits intomarshmallow-code:devfrom
vorticity:fix-yaml-ordering

Conversation

@vorticity
Copy link
Copy Markdown
Contributor

Implemented fix proposed by @lafrech #768 (comment)

Copy link
Copy Markdown
Member

@lafrech lafrech left a comment

Choose a reason for hiding this comment

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

Thanks.

Do you think you could add a unit test for this?

Comment thread AUTHORS.rst Outdated
@vorticity vorticity requested a review from lafrech May 12, 2022 21:57
Copy link
Copy Markdown
Member

@lafrech lafrech left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@lafrech lafrech merged commit 242844f into marshmallow-code:dev May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Component schema property ordering regression in ApiSpec.to_yaml() method

2 participants