
    sg                        S r SSKJr  SSKJr  SSKJrJrJr   SSK	J
r
  \(       a
  SSKJrJrJr  \r\
" S\S9r " S	 S
\\   5      r " S S\\   5      rg! \ a	    SSKJ
r
   NEf = f)z>
Type-annotation related support for the referencing library.
    )annotations)Mapping)TYPE_CHECKINGAnyProtocol)TypeVar)ResolvedResolverResourceD)defaultc                  "    \ rS rSrSrSS jrSrg)Retrieve   z
A retrieval callable, usable within a `Registry` for resource retrieval.

Does not make assumptions about where the resource might be coming from.
c                    g)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     4/usr/lib/python3/dist-packages/referencing/typing.py__call__Retrieve.__call__    s     	    r   N)r   URIreturnzResource[D])__name__
__module____qualname____firstlineno____doc__r   __static_attributes__r   r   r   r   r      s    r   r   c                  6    \ rS rSrSr\SS j5       rSS jrSrg)	Anchor*   z
An anchor within a `Resource`.

Beyond "simple" anchors, some specifications like JSON Schema's 2020
version have dynamic anchors.
c                    g)z!
Return the name of this anchor.
Nr   )r   s    r   nameAnchor.name2   s    
 	r   c                    g)z&
Return the resource for this anchor.
Nr   )r   resolvers     r   resolveAnchor.resolve9   s     	r   r   N)r   str)r(   zResolver[D]r   zResolved[D])	r   r   r   r   r   propertyr%   r)   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>r3      st    # . / /) >> 
 Cx{ "Xa[ =  s   A A&%A&