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

Allow our custom yaml dumper to NamespacedDictWrapper objects (2018.3 branch) #49411

Merged
merged 2 commits into from
Aug 30, 2018

Conversation

terminalmage
Copy link
Contributor

@terminalmage terminalmage commented Aug 29, 2018

(This is #49408 opened against the 2018.3 branch)

This special dict class did not have a representer assigned to it, so PyYAML would raise an exception when attempting to dump it.

This also removes the class name overriding and deprecates the NamespacedDictWrapper's ability to do so, as it was A) incorrectly implmented and B) is no longer used by anything in Salt.

This special dict class did not have a representer assigned to it, so
PyYAML would raise an exception when attempting to dump it.

This also removes the name overriding, as its implementation was
ill-conceived and will be deprecated in a later branch (it's only used
in this one place so deprecating should be of no-to-minimal impact).
Nothing in Salt uses this now.
@terminalmage terminalmage requested a review from a team as a code owner August 29, 2018 19:57
@ghost ghost self-requested a review August 29, 2018 19:57
@rallytime
Copy link
Contributor

Refs #49269

@rallytime rallytime merged commit a962efc into saltstack:2018.3 Aug 30, 2018
@terminalmage terminalmage deleted the issue49269-2018.3 branch February 13, 2024 00:13
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.

3 participants