
    uYf                     X    d Z ddlmZmZmZ ddlmZ  ed      ZdedefdZd	edefd
Z	y)zUseful internal functions.    )NoReturnTypeTypeVar   StructureHandlerNotFoundErrorTobjreturnc                     | S )zThe identity function. )r
   s    J/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/cattrs/fns.pyidentityr   	   s    J    clc                 (    d|d}t        ||      )zGAt the bottom of the condition stack, we explode if we can't handle it.zUnsupported type: z#. Register a structure hook for it.)type_r   )_r   msgs      r   raise_errorr      s    rf$G
HC
'2
66r   N)
__doc__typingr   r   r   errorsr   r	   r   r   r   r   r   <module>r      s@      * * 1CL!  
7t 7 7r   