§
    ©	Êjd  ã                  ót   — 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dS )é    )Ú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<   dS )r   zSchema traversing result.z+dict[str, DefinitionReferenceSchema | None]Úcollected_referenceszlist[CoreSchema]Údeferred_discriminator_schemasN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__© ó    úQC:\Projects\Muse2API\.venv\Lib\site-packages\pydantic/_internal/_schema_gather.pyr   r      s7   € € € € € € Ø#Ð#àEÐEÐEÑEðð 5Ð4Ð4Ñ4ØQÐQr   r   Úschemar   Údefinitionsúdict[str, CoreSchema]Úreturnc                ó<   — 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
   )r   r   r   r   s       r   r
   r
       s:   € õ <JÔ;eØ�ñ<ô <Ñ8ÐÐ8ð !5Ø*Hðð ð r   N)r   r   r   r   r   r   )Ú
__future__r   Útypingr   Úpydantic_core._pydantic_corer   Úpydantic_core.core_schemar   r   Ú__all__r	   r   r
   r   r   r   ú<module>r       s¿   ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð à 7Ð 7Ð 7Ð 7Ð 7Ð 7Ø KÐ KÐ KÐ KÐ KÐ KÐ KÐ Kðð ð €ð (Ô>Ð ðRð Rð Rð Rð R�9ñ Rô Rð Rðð ð ð ð ð r   