
    [V                         d Z dZd ZdS )z,
This module implements the cache decorator
zVMware, Inc.c                       fd} fd}t           di            t           d|            j        |_         j        |_        |j                             j                   |S )z Function cache decorator c                      | rt          |           pd|r!t          |                                          pdf}|j        vr | i |xj        |<   }nj        |         }|S )z Cache function N)tuple	frozensetitems
__cached__)argskwargskeycachefns       //usr/lib/python3/dist-packages/pyVmomi/Cache.pyfnCachezCache.<locals>.fnCache   sz    !eDkk)T1	&,,..119T;c	BM	!	!&(b$&9&&9&9	9s	ees#l    c                      i  _         dS )z Reset cache N)r   )r   s   r   
ResetCachezCache.<locals>.ResetCache!   s    bmmmr   r   __resetcache__)setattr__name____doc____dict__update)r   r   r   s   `  r   Cacher      s             2|R   
2,,,k7Z7?
2;'''
>r   N)r   
__author__r    r   r   <module>r      s/      
    r   