
    Vh                    6    d dl mZ dZd dlmZ  G d de      Zy)    )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                  H    e Zd Zd Zd Zd Zd Zd Zd Zd Z	d Z
d	 Zd
 Zy)CacheModulec                    i | _         y N_cache)selfargskwargss      L/home/dcms/DCMS/lib/python3.12/site-packages/ansible/plugins/cache/memory.py__init__zCacheModule.__init__   	        c                8    | j                   j                  |      S r   )r
   getr   keys     r   r   zCacheModule.get   s    {{s##r   c                "    || j                   |<   y r   r	   )r   r   values      r   setzCacheModule.set   s     Cr   c                6    | j                   j                         S r   )r
   keysr   s    r   r   zCacheModule.keys!       {{!!r   c                    || j                   v S r   r	   r   s     r   containszCacheModule.contains$   s    dkk!!r   c                    | j                   |= y r   r	   r   s     r   deletezCacheModule.delete'   s    KKr   c                    i | _         y r   r	   r   s    r   flushzCacheModule.flush*   r   r   c                6    | j                   j                         S r   )r
   copyr   s    r   r$   zCacheModule.copy-   r   r   c                "    | j                         S r   )r$   r   s    r   __getstate__zCacheModule.__getstate__0   s    yy{r   c                    || _         y r   r	   )r   datas     r   __setstate__zCacheModule.__setstate__3   s	    r   N)__name__
__module____qualname__r   r   r   r   r   r    r"   r$   r&   r)    r   r   r   r      s4    $!"""r   r   N)
__future__r   DOCUMENTATIONansible.plugins.cacher   r   r-   r   r   <module>r1      s"    #	 2/ r   