§
    ŠŠtj{  ã                   ór   — d Z ddlZddlmZmZ ddlmZ ddlmZm	Z	 ej
         G d„ d¦  «        ¦   «         ZdS )	aÐ  Hook system for Dynamo's guard functionality.

This module provides a way to register callback functions that are triggered during
guard-related operations.

The Hooks class manages two types of hook functions:
- guard_export_fn: Called when guards need to be exported, taking a GuardsSet as input
- guard_fail_fn: Called when a guard check fails, taking a GuardFail object as input
These hooks enable customization of guard export and failure handling behaviors.
é    N)ÚCallableÚSequence)Ú	GuardsSeté   )Ú	GuardFailÚGuardFilterEntryc                   óš   — e Zd ZU dZeegdf         dz  ed<   dZeegdf         dz  ed<   dZ	ee
e         ge
e         f         dz  ed<   dS )ÚHooksNÚguard_export_fnÚguard_fail_fnÚguard_filter_fn)Ú__name__Ú
__module__Ú__qualname__r   r   r   Ú__annotations__r   r   r   r   r   Úbool© ó    úQ/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/torch/_dynamo/hooks.pyr
   r
      s�   € € € € € € à:>€O�X˜y˜k¨4Ð/Ô0°4Ñ7Ð>Ð>Ñ>Ø8<€M�8˜Y˜K¨Ð-Ô.°Ñ5Ð<Ð<Ñ<àð �X˜xÐ(8Ô9Ð:¸HÀT¼NÐJÔKÈdÑRð ð ñ ð ð r   r
   )Ú__doc__ÚdataclassesÚcollections.abcr   r   Útorch._guardsr   Útypesr   r   Ú	dataclassr
   r   r   r   ú<module>r      s¡   ðð	ð 	ð Ð Ð Ð Ø .Ð .Ð .Ð .Ð .Ð .Ð .Ð .à #Ð #Ð #Ð #Ð #Ð #à .Ð .Ð .Ð .Ð .Ð .Ð .Ð .ð Ôðð ð ð ð ñ ô ñ Ôðð ð r   