§
    y›j½  ã                   óf   — d dl mZmZ d dlmZ d dlmZ  G d„ de¦  «        Z G d„ de¦  «        ZdS )	é    )ÚAnyÚProtocol)ÚSpan)Ú
Connectionc            
       ó.   — e Zd ZdZdededededdf
d„ZdS )	ÚRequestHookz1A hook that is called before the request is sent.ÚspanÚinstanceÚargsÚkwargsÚreturnNc                 ó   — dS )a  Call the hook.

        Args:
            span: The span that is being created.
            instance: The connection instance.
            *args: The arguments that are passed to the command.
            **kwargs: The keyword arguments that are passed to the command.
        N© )Úselfr	   r
   r   r   s        úW/home/lighthouse/health/venv/lib/python3.11/site-packages/logfire/integrations/redis.pyÚ__call__zRequestHook.__call__
   ó   € € € ó    ©Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r   r      sR   € € € € € Ø;Ð;ð˜Tð ¨Zð Àð Èsð ÐW[ð ð ð ð ð ð r   r   c                   ó*   — e Zd ZdZdedededdfd„ZdS )ÚResponseHookz5A hook that is called after the response is received.r	   r
   Úresponser   Nc                 ó   — dS )z¼Call the hook.

        Args:
            span: The span that is being created.
            instance: The connection instance.
            response: The response that is received.
        Nr   )r   r	   r
   r   s       r   r   zResponseHook.__call__   r   r   r   r   r   r   r   r      sJ   € € € € € Ø?Ð?ð˜Tð ¨Zð À3ð È4ð ð ð ð ð ð r   r   N)	Útypingr   r   Úopentelemetry.tracer   Úredisr   r   r   r   r   r   ú<module>r!      sŸ   ðØ  Ð  Ð  Ð  Ð  Ð  Ð  Ð  à $Ð $Ð $Ð $Ð $Ð $Ø Ð Ð Ð Ð Ð ðð ð ð ð �(ñ ô ð ð
ð 
ð 
ð 
ð 
�8ñ 
ô 
ð 
ð 
ð 
r   