§
    @Ü¶i~  ã                   óz   — d Z ddlZddlmZ ddl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)ÚOptional)Ú	GuardsSeté   )Ú	GuardFailÚGuardFilterEntryc                   ó¬   — e Zd ZU dZeeegdf                  ed<   dZeee	gdf                  ed<   dZ
eeee         gee         f                  ed<   dS )ÚHooksNÚguard_export_fnÚguard_fail_fnÚguard_filter_fn)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   Ú__annotations__r   r   r   Úlistr   Úbool© ó    úX/root/projects/openclaw-proxy/venv/lib64/python3.11/site-packages/torch/_dynamo/hooks.pyr
   r
      s€   € € € € € € à=A€OX˜h¨	 {°DÐ'8Ô9Ô:ÐAÐAÑAØ;?€M8˜H i [°$Ð%6Ô7Ô8Ð?Ð?Ñ?ØPT€OX˜h¨Ð-=Ô(>Ð'?ÀÀdÄÐ'KÔLÔMÐTÐTÑTÐTÐTr   r
   )Ú__doc__ÚdataclassesÚcollections.abcr   Útypingr   Útorch._guardsr   Útypesr   r   Ú	dataclassr
   r   r   r   ú<module>r      s·   ðð	ð 	ð Ð Ð Ð Ø $Ð $Ð $Ð $Ð $Ð $Ø Ð Ð Ð Ð Ð à #Ð #Ð #Ð #Ð #Ð #à .Ð .Ð .Ð .Ð .Ð .Ð .Ð .ð ÔðUð Uð Uð Uð Uñ Uô Uñ ÔðUð Uð Ur   