o
    i                  	   @   sr   d Z dee   ZdZdddddeeddd	d
ddddddeddgdZG dd deZdd Z	dS )   s   Obj   recordzorg.apache.avro.file.Headermagicfixed)typenamesize)r   r   metamapbytes)r   valuessync)r   r   fieldsc                   @   s   e Zd ZdS )SchemaResolutionErrorN)__name__
__module____qualname__ r   r   [/var/www/html/karishye-ai-python/venv/lib/python3.10/site-packages/fastavro/_read_common.pyr      s    r   c                    s    fdd}|S )Nc                    s   t   dd  )Nz7 codec is supported but you need to install one of the zfollowing libraries: )
ValueError)focodec	librariesr   r   missing   s
   z"missing_codec_lib.<locals>.missingr   )r   r   r   r   r   r   missing_codec_lib   s   r   N)
VERSIONchrencodeMAGIC	SYNC_SIZElenHEADER_SCHEMA	Exceptionr   r   r   r   r   r   <module>   s    