mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-16 21:07:42 +00:00
Simplify FactCache.update()
We only need FactCache.update() for the backwards compatibility shim as MutableMapping.update() will do the right thing.
This commit is contained in:
parent
33f0c1ce22
commit
bd7322a3f6
3 changed files with 47 additions and 20 deletions
|
|
@ -63,7 +63,8 @@ Deprecated
|
|||
2. The ``FactCache.update()`` method has been converted to follow the dict API. It now takes a
|
||||
dictionary as its sole argument and updates itself with the dictionary's items. The previous
|
||||
API where ``update()`` took a key and a value will now issue a deprecation warning and will be
|
||||
removed in 2.12.
|
||||
removed in 2.12. If you need the old behaviour switch to ``FactCache.first_order_merge()``
|
||||
instead.
|
||||
|
||||
Modules
|
||||
=======
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue