Ë
    [^(h‹  ã                   óB   — d dl Z d dlZd dlmZ dZdee   dededefd„Zy)	é    N)ÚCallablezMUsage of '{old_location}' is deprecated; please use '{new_location}' instead.ÚallÚ
old_moduleÚ
new_moduleÚreturnc                 óZ   ‡ ‡‡— t         j                  |‰¬«      Šdt        ddfˆ ˆˆfd„}|S )a@  Import utility to lazily import deprecated packages / modules / functional.

    The old_module and new_module are also used in the deprecation warning defined
    by the `_MESSAGE_TEMPLATE`.

    Args:
        all: The list of the functions that are imported. Generally, the module's
            __all__ list of the module.
        old_module: Old module location
        new_module: New module location / Migrated location

    Returns:
        Callable to assign to the `__getattr__`

    Usage:

        # In the `torch/nn/quantized/functional.py`
        from torch.nn.utils._deprecation_utils import lazy_deprecated_import
        _MIGRATED_TO = "torch.ao.nn.quantized.functional"
        __getattr__ = lazy_deprecated_import(
            all=__all__,
            old_module=__name__,
            new_module=_MIGRATED_TO)
    )Úold_locationÚnew_locationÚnamer   Nc                 ó¦   •— | ‰v r;t        j                  ‰t        «       t        j                  ‰«      }t        || «      S t        d‰›d| ›d�«      ‚)NzModule z has no attribute ú.)ÚwarningsÚwarnÚRuntimeWarningÚ	importlibÚimport_moduleÚgetattrÚAttributeError)r   Úpackager   r   Úwarning_messages     €€€ú_/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/torch/nn/utils/_deprecation_utils.pyÚgetattr_dunderz.lazy_deprecated_import.<locals>.getattr_dunder,   sR   ø€ Ø�3‰;ô �M‰M˜/¬>Ô:Ü×-Ñ-¨jÓ9ˆGÜ˜7 DÓ)Ð)Ü˜w z nÐ4FÀtÀhÈaÐPÓQÐQó    )Ú_MESSAGE_TEMPLATEÚformatÚstr)r   r   r   r   r   s   ` ` @r   Úlazy_deprecated_importr      s=   ú€ ô: (×.Ñ.Ø¨jð /ó €OðRœSð R T÷ Rð Ðr   )r   r   Útypingr   r   Úlistr   r   © r   r   ú<module>r!      sF   ðÛ Û Ý ð Uð ð
*Ø	ˆc‰ð*àð*ð ð*ð ô	*r   