Ë
    òmxi¥  ã                  óÌ   — d Z ddlmZ ddlmZ ddlmZmZmZ 	 ddl	m
Z
 er
ddlmZmZmZ eZ e
de¬«      Z G d	„ d
ee   «      Z G d„ dee   «      Zy# e$ r	 ddlm
Z
 Y ŒBw xY w)z>
Type-annotation related support for the referencing library.
é    )Úannotations)ÚMapping)ÚTYPE_CHECKINGÚAnyÚProtocol)ÚTypeVar)ÚResolvedÚResolverÚResourceÚD)Údefaultc                  ó   — e Zd ZdZdd„Zy)ÚRetrievez 
    A retrieval callable, usable within a `Registry` for resource retrieval.

    Does not make assumptions about where the resource might be coming from.
    c                 ó   — y)z½
        Retrieve the resource with the given URI.

        Raise `referencing.exceptions.NoSuchResource` if you wish to indicate
        the retriever cannot lookup the given URI.
        N© )ÚselfÚuris     úI/home/htdocs/ttos/venv/lib/python3.12/site-packages/referencing/typing.pyÚ__call__zRetrieve.__call__    s   € ð 	ó    N)r   ÚURIÚreturnzResource[D])Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r      s   „ ñôr   r   c                  ó*   — e Zd ZdZedd„«       Zdd„Zy)ÚAnchorz”
    An anchor within a `Resource`.

    Beyond "simple" anchors, some specifications like JSON Schema's 2020
    version have dynamic anchors.
    c                 ó   — y)z1
        Return the name of this anchor.
        Nr   )r   s    r   ÚnamezAnchor.name2   s   € ð
 	r   c                 ó   — y)z6
        Return the resource for this anchor.
        Nr   )r   Úresolvers     r   ÚresolvezAnchor.resolve9   s   € ð 	r   N)r   Ústr)r"   zResolver[D]r   zResolved[D])r   r   r   r   Úpropertyr    r#   r   r   r   r   r   *   s    „ ñð òó ðôr   r   N)r   Ú
__future__r   Úcollections.abcr   Útypingr   r   r   Útyping_extensionsr   ÚImportErrorÚreferencing._corer	   r
   r   r$   r   r   r   r   r   r   r   ú<module>r,      st   ðñõ #å .ß /Ñ /ðÝ)ñ ß>Ñ>ð 
€ñ ˆC˜Ô€ôˆx˜‰{ô ô"ˆX�a‰[õ øð= ò ßðús   šA ÁA#Á"A#