mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
78478e80ea
For playbook base objects, when dumping attributes via dump_attrs() an attribute like loop_control is a class. Using the default serialization for these is slow and consumes a lot of memory. Since LoopControl is also based on the Base class, we can use serialize() instead and save a lot of resources. This also adds a from_attrs() complimentary method to nicely turn the dumped attrs back into proper field attributes. Fixes #23579 |
||
---|---|---|
.. | ||
role | ||
__init__.py | ||
attribute.py | ||
base.py | ||
become.py | ||
block.py | ||
conditional.py | ||
handler.py | ||
handler_task_include.py | ||
helpers.py | ||
included_file.py | ||
loop_control.py | ||
play.py | ||
play_context.py | ||
playbook_include.py | ||
role_include.py | ||
taggable.py | ||
task.py | ||
task_include.py |