mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-06 18:48:54 +00:00
multiple: replace namedtuple with dataclass (#12094)
* refactor(multiple): replace namedtuple with dataclass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * chore(changelog): add fragment for PR 12094 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Update comment. --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
850ef03fe7
commit
cbc6f6eed3
6 changed files with 47 additions and 20 deletions
6
changelogs/fragments/12094-namedtuple-to-dataclass.yml
Normal file
6
changelogs/fragments/12094-namedtuple-to-dataclass.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
minor_changes:
|
||||
- homebrew_services - replace ``NamedTuple`` with dataclass (https://github.com/ansible-collections/community.general/pull/12094).
|
||||
- one_service - replace function-local ``namedtuple`` with module-level dataclass (https://github.com/ansible-collections/community.general/pull/12094).
|
||||
- one_vm - replace function-local ``namedtuple`` with module-level dataclass (https://github.com/ansible-collections/community.general/pull/12094).
|
||||
- opennebula inventory plugin - replace function-local ``namedtuple`` with module-level dataclass (https://github.com/ansible-collections/community.general/pull/12094).
|
||||
- pacman - replace ``namedtuple`` with dataclass for ``VersionTuple`` (https://github.com/ansible-collections/community.general/pull/12094).
|
||||
Loading…
Add table
Add a link
Reference in a new issue