o n¾nhÂã@s0ddlmZdZddlmZGdd„deƒZdS)é)Ú annotationsa= name: memory short_description: RAM backed, non persistent description: - RAM backed cache that is not persistent. - This is the default used if no other plugin is specified. - There are no options to configure. version_added: historical author: core team (@ansible-core) )ÚBaseCacheModulec@s\eZdZdd„Zdd„Zdd„Zdd„Zd d „Zd d „Zd d„Z dd„Z dd„Z dd„Z dS)Ú CacheModulecOó i|_dS©N©Ú_cache)ÚselfÚargsÚkwargs©r úG/usr/local/lib/python3.10/dist-packages/ansible/plugins/cache/memory.pyÚ__init__ó zCacheModule.__init__cCs |j |¡Sr)rÚget©r Úkeyr r r ró zCacheModule.getcCs||j|<dSrr)r rÚvaluer r r ÚsetszCacheModule.setcCó |j ¡Sr)rÚkeys©r r r r r!rzCacheModule.keyscCs ||jvSrrrr r r Úcontains$rzCacheModule.containscCs |j|=dSrrrr r r Údelete'rzCacheModule.deletecCrrrrr r r Úflush*rzCacheModule.flushcCrr)rÚcopyrr r r r-rzCacheModule.copycCs| ¡Sr)rrr r r Ú __getstate__0szCacheModule.__getstate__cCs ||_dSrr)r Údatar r r Ú __setstate__3rzCacheModule.__setstate__N) Ú__name__Ú __module__Ú __qualname__rrrrrrrrrrr r r r rs rN)Ú __future__rÚ DOCUMENTATIONÚansible.plugins.cacherrr r r r Ús