Ë
    ž,h7  ã                  óø   — d Z ddlmZ ddlmZmZmZ ddlm	Z	 erJddl
mZ ddlmZmZ ee	j                  e	j                   e	j"                  e	j$                  e	j&                  f   ZdZ G d	„ d
«      Z G d„ d«      Zy)z_Type annotations to use with `__get_pydantic_core_schema__` and `__get_pydantic_json_schema__`.é    )Úannotations)ÚTYPE_CHECKINGÚAnyÚUnion)Úcore_schemaé   )ÚNamespacesTuple)ÚJsonSchemaModeÚJsonSchemaValue)ÚGetJsonSchemaHandlerÚGetCoreSchemaHandlerc                  ó,   — e Zd ZU dZded<   dd„Zdd„Zy)	r   zœHandler to call into the next JSON schema generation function.

    Attributes:
        mode: Json schema mode, can be `validation` or `serialization`.
    r
   Úmodec               ó   — t         ‚)a  Call the inner handler and get the JsonSchemaValue it returns.
        This will call the next JSON schema modifying function up until it calls
        into `pydantic.json_schema.GenerateJsonSchema`, which will raise a
        `pydantic.errors.PydanticInvalidForJsonSchema` error if it cannot generate
        a JSON schema.

        Args:
            core_schema: A `pydantic_core.core_schema.CoreSchema`.

        Returns:
            JsonSchemaValue: The JSON schema generated by the inner JSON schema modify
            functions.
        ©ÚNotImplementedError)Úselfr   s     ú]/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/pydantic/annotated_handlers.pyÚ__call__zGetJsonSchemaHandler.__call__!   ó
   € ô "Ð!ó    c               ó   — t         ‚)aÌ  Get the real schema for a `{"$ref": ...}` schema.
        If the schema given is not a `$ref` schema, it will be returned as is.
        This means you don't have to check before calling this function.

        Args:
            maybe_ref_json_schema: A JsonSchemaValue which may be a `$ref` schema.

        Raises:
            LookupError: If the ref is not found.

        Returns:
            JsonSchemaValue: A JsonSchemaValue that has no `$ref`.
        r   )r   Úmaybe_ref_json_schemas     r   Úresolve_ref_schemaz'GetJsonSchemaHandler.resolve_ref_schema1   r   r   N)r   ÚCoreSchemaOrFieldÚreturnr   )r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú__annotations__r   r   © r   r   r   r      s   … ñð Óó"ô "r   r   c                  óB   — e Zd ZdZdd„Zdd„Zd	d„Zed
d„«       Zdd„Z	y)r   zDHandler to call into the next CoreSchema schema generation function.c               ó   — t         ‚)aó  Call the inner handler and get the CoreSchema it returns.
        This will call the next CoreSchema modifying function up until it calls
        into Pydantic's internal schema generation machinery, which will raise a
        `pydantic.errors.PydanticSchemaGenerationError` error if it cannot generate
        a CoreSchema for the given source type.

        Args:
            source_type: The input type.

        Returns:
            CoreSchema: The `pydantic-core` CoreSchema generated.
        r   ©r   Úsource_types     r   r   zGetCoreSchemaHandler.__call__E   ó
   € ô "Ð!r   c               ó   — t         ‚)aë  Generate a schema unrelated to the current context.
        Use this function if e.g. you are handling schema generation for a sequence
        and want to generate a schema for its items.
        Otherwise, you may end up doing something like applying a `min_length` constraint
        that was intended for the sequence itself to its items!

        Args:
            source_type: The input type.

        Returns:
            CoreSchema: The `pydantic-core` CoreSchema generated.
        r   r%   s     r   Úgenerate_schemaz$GetCoreSchemaHandler.generate_schemaT   r'   r   c               ó   — t         ‚)aª  Get the real schema for a `definition-ref` schema.
        If the schema given is not a `definition-ref` schema, it will be returned as is.
        This means you don't have to check before calling this function.

        Args:
            maybe_ref_schema: A `CoreSchema`, `ref`-based or not.

        Raises:
            LookupError: If the `ref` is not found.

        Returns:
            A concrete `CoreSchema`.
        r   )r   Úmaybe_ref_schemas     r   r   z'GetCoreSchemaHandler.resolve_ref_schemac   r   r   c                ó   — t         ‚)z4Get the name of the closest field to this validator.r   ©r   s    r   Ú
field_namezGetCoreSchemaHandler.field_names   s
   € ô "Ð!r   c                ó   — t         ‚)zGInternal method used during type resolution for serializer annotations.r   r-   s    r   Ú_get_types_namespacez)GetCoreSchemaHandler._get_types_namespacex   s   € ä!Ð!r   N)r&   r   r   úcore_schema.CoreSchema)r+   r1   r   r1   )r   z
str | None)r   r	   )
r   r   r   r    r   r)   r   Úpropertyr.   r0   r"   r   r   r   r   B   s-   „ ÙNó"ó"ó"ð  ò"ó ð"ô"r   r   N)r    Ú
__future__r   Ú_annotationsÚtypingr   r   r   Úpydantic_corer   Ú_internal._namespace_utilsr	   Újson_schemar
   r   Ú
CoreSchemaÚ
ModelFieldÚDataclassFieldÚTypedDictFieldÚComputedFieldr   Ú__all__r   r   r"   r   r   ú<module>r?      sv   ðÙ eå 2ç ,Ñ ,å %áÝ;ß<àØ×ÑØ×ÑØ×"Ñ"Ø×"Ñ"Ø×!Ñ!ð		#ñÐð 9€÷'"ñ '"÷T8"ò 8"r   