Ë
    /æjd  ã                  óv   — d dl mZ d dlmZ d dlmZ d dlmZmZ g d¢Z	ej                  Z
 G d„ de«      Zd
d„Zy	)é    )Úannotations)Ú	TypedDict)Ú_schema_gather)Ú
CoreSchemaÚDefinitionReferenceSchema)ÚGatherResultÚMissingDefinitionErrorÚgather_schemas_for_cleaningc                  ó(   — e Zd ZU dZded<   	 ded<   y)r   zSchema traversing result.z+dict[str, DefinitionReferenceSchema | None]Úcollected_referenceszlist[CoreSchema]Údeferred_discriminator_schemasN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__© ó    úd/root/repos/pocs/video-evals/.venv/lib/python3.12/site-packages/pydantic/_internal/_schema_gather.pyr   r      s   … Ù#àEÓEðð %5Ó4ØQr   r   c                ó>   — t        j                  | |«      \  }}||dœS )a]  Traverse the core schema and definitions and return the necessary information for schema cleaning.

    During the core schema traversing, any `'definition-ref'` schema is:

    - Validated: the reference must point to an existing definition. If this is not the case, a
      `MissingDefinitionError` exception is raised.
    - Stored in the context: the actual reference is stored in the context. Depending on whether
      the `'definition-ref'` schema is encountered more that once, the schema itself is also
      saved in the context to be inlined (i.e. replaced by the definition it points to).
    )r   r   )r   r
   )ÚschemaÚdefinitionsr   r   s       r   r
   r
       s3   € ô <J×;eÑ;eØ�ó<Ñ8ÐÐ8ð !5Ø*Hñð r   N)r   r   r   zdict[str, CoreSchema]Úreturnr   )Ú
__future__r   Útypingr   Úpydantic_core._pydantic_corer   Úpydantic_core.core_schemar   r   Ú__all__r	   r   r
   r   r   r   ú<module>r      s9   ðÝ "å å 7ß Kò€ð (×>Ñ>Ð ôR�9ô Rôr   