Ë
    ×Bæj,  ã                  óL   — d Z ddlmZ ddlmZ ddlmZ erddlZ G d„ d«      Zy)zCompatibility helpers.é    )Úannotations)ÚAny)ÚTYPE_CHECKINGNc                  ó>   — e Zd ZdZdZdd„Zed	d„«       Zd
d„Zdd„Z	y)Ú
DistFacadeaX  Facade providing pkg_resources.Distribution-like interface.

    This class wraps importlib.metadata.Distribution to provide a
    compatibility layer for code expecting the legacy pkg_resources API.
    The primary difference is the ``project_name`` attribute which
    pkg_resources provided but importlib.metadata.Distribution does not.
    ©Ú_distc                ó   — || _         y )Nr   )ÚselfÚdists     úQ/root/repos/pocs/video-evals/.venv/lib/python3.12/site-packages/pluggy/_compat.pyÚ__init__zDistFacade.__init__   s	   € Øˆ�
ó    c                ó$   — | j                   d   }|S )zÀGet the project name (for pkg_resources compatibility).

        This is equivalent to dist.metadata["name"] but matches the
        pkg_resources.Distribution.project_name attribute.
        Úname)Úmetadata)r   r   s     r   Úproject_namezDistFacade.project_name   s   € ð —M‘M &Ñ)ˆØˆr   c                ó.   — t        | j                  |«      S )z:Delegate all other attributes to the wrapped Distribution.)Úgetattrr	   )r   Úattrs     r   Ú__getattr__zDistFacade.__getattr__%   s   € ä�t—z‘z 4Ó(Ð(r   c                óH   — t        t        | j                  «      ddgz   «      S )z5List available attributes including facade additions.r	   r   )ÚsortedÚdirr	   )r   s    r   Ú__dir__zDistFacade.__dir__)   s   € ä”c˜$Ÿ*™*“o¨°.Ð(AÑAÓBÐBr   N)r   zimportlib.metadata.DistributionÚreturnÚNone)r   Ústr)r   r   r   r   )r   z	list[str])
Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   Úpropertyr   r   r   © r   r   r   r      s2   „ ñð €Ióð òó ðó)ôCr   r   )	r"   Ú
__future__r   Útypingr   r   Úimportlib.metadataÚ	importlibr   r%   r   r   ú<module>r*      s%   ðÙ å "å Ý  ñ Û÷Cò Cr   