+
    8i                     b    ^ RI Ht ^ RIt^ RIt^ RIHtHtHt ^ RIH	t	 ^ RI
Ht  ! R R4      tR# )    )	lru_cacheN)RegistryResource
exceptions)DRAFT202012)to_cached_resourcec                   8   a  ] tR t^t o R tR tR tR tRtV t	R# )TestToCachedResourcec                J  a R R/p\         P                  ! V4      .o\        4       V3R l4       p\        VR7      p\        P
                  ! V4      pVP                  R4      pVP                  V8X  g   Q hVP                  R4      pVP                  VP                  J g   Q hR# )$schema,https://json-schema.org/draft/2020-12/schemac                 $   < SP                  4       # Npopuristacks   &^/var/www/html/photoedit/myenv/lib/python3.14/site-packages/referencing/tests/test_retrieval.pyretrieveITestToCachedResource.test_it_caches_retrieved_resources.<locals>.retrieve       99;    r   urn:example:schemaNjsondumpsr   r   r   from_contentsget_or_retrievevalueselfcontentsr   registryexpectedgotagainr   s   &      @r   "test_it_caches_retrieved_resources7TestToCachedResource.test_it_caches_retrieved_resources   s    MNH%&			 
	 X.))(3&&';<yyH$$$ (()=>{{cii'''r   c                d  a R R/p\         P                  ! V4      RRR1,          .o\        R R7      V3R l4       p\        VR7      p\        P
                  ! V4      pVP                  R4      pVP                  V8X  g   Q hVP                  R4      pVP                  VP                  J g   Q hR# )	r   r   Nc                 B    \         P                  ! V R R R1,          4      # )N)r   loads)ss   &r   <lambda>9TestToCachedResource.test_custom_loader.<locals>.<lambda>#   s    DJJq2w,?r   )r.   c                 $   < SP                  4       # r   r   r   s   &r   r   9TestToCachedResource.test_custom_loader.<locals>.retrieve#   r   r   r   r   r-   r   r"   s   &      @r   test_custom_loader'TestToCachedResource.test_custom_loader   s    MNH%dd+,	"?	@	 
A	 X.))(3&&';<yyH$$$ (()=>{{cii'''r   c                f  a / p\         P                  ! V4      .o\        \        P                  R 7      V3R l4       p\        VR7      p\        P                  ! V4      pVP                  R4      pVP                  V8X  g   Q hVP                  R4      pVP                  VP                  J g   Q hR# ))r   c                 $   < SP                  4       # r   r   r   s   &r   r   @TestToCachedResource.test_custom_from_contents.<locals>.retrieve6   r   r   r   r   N)r   r   r   r   create_resourcer   r    r!   r"   s   &      @r   test_custom_from_contents.TestToCachedResource.test_custom_from_contents2   s    H%&	+*E*E	F	 
G	 X...x8&&';<yyH$$$ (()=>{{cii'''r   c           
       a R R/pR\        V^R7      R\        V^R7      R\        V^R7      /oSP                  4        UUu/ uF  w  r#V\        P                  ! V4      bK  	  ppp\	        \        ^R7      R7      V3R l4       p\        VR	7      pVP                  R4      pVP                  VR,          8X  g   Q hVP                  R4      P                  VP                  J g   Q hVP                  R4      P                  VP                  J g   Q hVP                  R4      pVP                  VR,          8X  g   Q hVP                  R4      P                  VP                  J g   Q hVP                  R4      P                  VP                  J g   Q hVP                  R4      pVP                  VR,          8X  g   Q hVP                  R4      P                  VP                  J g   Q hVP                  R4      P                  VP                  J g   Q h\        P                  ! \        P                  4      ;_uu_ 4        VP                  R4       R
R
R
4       R
# u uppi   + '       g   i     R
# ; i)r   r   zurn:example:1)foozurn:example:2zurn:example:3)maxsize)cachec                 N   < \         P                  ! SP                  V 4      4      # r   )r   r   r   )r   mappings   &r   r   8TestToCachedResource.test_custom_cache.<locals>.retrieveR   s    ::gkk#.//r   r   N)dictitemsr   r   r   r   r   r    r!   pytestraisesr   Unretrievable)	r#   schemar   r$   	resourcesr   r%   r'   rA   s	   &       @r   test_custom_cache&TestToCachedResource.test_custom_cacheE   s$   KLT&a0T&a0T&a0
 ")
!0 ''11!0 	 

 
)A"6	7	0 
8	0 X.&&7yyIo6666''8>>#))KKK''8>>#))KKK&&7yyIo6666''8>>#))KKK''8>>#))KKK &&7yyIo6666''8>>#))KKK''8>>#))KKK ]]:3344$$_5 549
8 544s   "II##I4	 N)
__name__
__module____qualname____firstlineno__r)   r4   r:   rJ   __static_attributes____classdictcell__)__classdict__s   @r   r
   r
      s     (&(&(&%6 %6r   r
   )	functoolsr   r   rE   referencingr   r   r   referencing.jsonschemar   referencing.retrievalr   r
   rL   r   r   <module>rX      s&       6 6 . 4_6 _6r   