§
    ™Štj+  ã                  óÂ   — d dl mZ d dlmZmZ d dlmZmZ d dlm	Z	m
Z
 d dlmZ d dlmZ  e
d¦  «        Zeedf         Zeeef         Z G d	„ d
ee	e         ¦  «        ZdS )é    )Úannotations)ÚABCÚabstractmethod)ÚMappingÚSequence)ÚGenericÚTypeVar)ÚSerializerProtocol)ÚJsonPlusSerializerÚValueT.c                  óØ   — e Zd ZU dZ ed¬¦  «        Zded<   ddœdd„Zedd„¦   «         Z	edd„¦   «         Z
edd„¦   «         Zedd„¦   «         Zeddd„¦   «         Zeddd„¦   «         ZdS )Ú	BaseCachezBase class for a cache.F)Úpickle_fallbackr
   ÚserdeN©r   úSerializerProtocol | NoneÚreturnÚNonec               ó"   — |p| j         | _         dS )z'Initialize the cache with a serializer.Nr   )Úselfr   s     ú[/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/langgraph/cache/base/__init__.pyÚ__init__zBaseCache.__init__   s   € àÐ(˜dœjˆŒ
ˆ
ˆ
ó    ÚkeysúSequence[FullKey]údict[FullKey, ValueT]c                ó   — dS )z)Get the cached values for the given keys.N© ©r   r   s     r   ÚgetzBaseCache.get   ó   € € € r   c              ƒ  ó
   K  — dS )z8Asynchronously get the cached values for the given keys.Nr   r   s     r   ÚagetzBaseCache.aget   ó
   è è € € € r   Úpairsú+Mapping[FullKey, tuple[ValueT, int | None]]c                ó   — dS )z2Set the cached values for the given keys and TTLs.Nr   ©r   r%   s     r   ÚsetzBaseCache.set    r!   r   c              ƒ  ó
   K  — dS )zAAsynchronously set the cached values for the given keys and TTLs.Nr   r(   s     r   ÚasetzBaseCache.aset$   r$   r   Ú
namespacesúSequence[Namespace] | Nonec                ó   — dS )zrDelete the cached values for the given namespaces.
        If no namespaces are provided, clear all cached values.Nr   ©r   r,   s     r   ÚclearzBaseCache.clear(   r!   r   c              ƒ  ó
   K  — dS )z�Asynchronously delete the cached values for the given namespaces.
        If no namespaces are provided, clear all cached values.Nr   r/   s     r   ÚaclearzBaseCache.aclear-   r$   r   )r   r   r   r   )r   r   r   r   )r%   r&   r   r   )N)r,   r-   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__annotations__r   r   r    r#   r)   r+   r0   r2   r   r   r   r   r      s>  € € € € € € Ø!Ð!à 2Ð 2À5Ð IÑ IÔ I€EÐIÐIÐIÑIà=Að )ð )ð )ð )ð )ð )ð ð8ð 8ð 8ñ „^ð8ð ðGð Gð Gñ „^ðGð ðAð Að Añ „^ðAð ðPð Pð Pñ „^ðPð ðCð Cð Cð Cñ „^ðCð ðCð Cð Cð Cñ „^ðCð Cð Cr   r   N)Ú
__future__r   Úabcr   r   Úcollections.abcr   r   Útypingr   r	   Úlanggraph.checkpoint.serde.baser
   Ú#langgraph.checkpoint.serde.jsonplusr   r   ÚtupleÚstrÚ	NamespaceÚFullKeyr   r   r   r   ú<module>rB      sñ   ðØ "Ð "Ð "Ð "Ð "Ð "à #Ð #Ð #Ð #Ð #Ð #Ð #Ð #Ø -Ð -Ð -Ð -Ð -Ð -Ð -Ð -Ø #Ð #Ð #Ð #Ð #Ð #Ð #Ð #à >Ð >Ð >Ð >Ð >Ð >Ø BÐ BÐ BÐ BÐ BÐ Bà	ˆ�Ñ	Ô	€Ø�#�s�(ŒO€	Ø
�	˜3�Ô
€ð!Cð !Cð !Cð !Cð !C��W˜V”_ñ !Cô !Cð !Cð !Cð !Cr   