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

VarDict module utils: add as_dict() method #6602

Merged
merged 2 commits into from
May 31, 2023

Conversation

russoz
Copy link
Collaborator

@russoz russoz commented May 29, 2023

SUMMARY

Add method as_dict() to VarDict.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/module_utils/vardict.py

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module_utils module_utils plugins plugin (any type) tests tests unit tests/unit labels May 29, 2023
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-7 labels May 30, 2023
@felixfontein felixfontein merged commit 59db302 into ansible-collections:main May 31, 2023
@patchback
Copy link

patchback bot commented May 31, 2023

Backport to stable-7: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-7/59db302deb345e61551814f91b114ec640339889/pr-6602

Backported as #6610

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label May 31, 2023
patchback bot pushed a commit that referenced this pull request May 31, 2023
* VarDict module utils: add `as_dict()` method

* add changelog frag

(cherry picked from commit 59db302)
@felixfontein
Copy link
Collaborator

@russoz thanks!

@russoz russoz deleted the vardict-as-dict branch May 31, 2023 06:20
felixfontein pushed a commit that referenced this pull request May 31, 2023
…dict()` method (#6610)

VarDict module utils: add `as_dict()` method (#6602)

* VarDict module utils: add `as_dict()` method

* add changelog frag

(cherry picked from commit 59db302)

Co-authored-by: Alexei Znamensky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module_utils module_utils plugins plugin (any type) tests tests unit tests/unit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants