ClickUp Operator

MMg7����dZddlmZddlmZmZmZddlm Z erJddl m Z ddl m Z mZee je j e j"e j$e j&fZdZGd �d �ZGdd �Zy )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�,�eZdZUdZded<dd�Zdd�Zy) r zHandler to call into the next JSON schema generation function. Attributes: mode: Json schema mode, can be `validation` or `serialization`. r �modec��t�)aCall 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)�selfrs �gC:\Users\noahv\Documents\GitHub\clickup-operator\.venv\Lib\site-packages\pydantic/annotated_handlers.py�__call__zGetJsonSchemaHandler.__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_schema1rrN)r�CoreSchemaOrField�returnr )rr rr )�__name__ __module____qualname__�__doc__�__annotations__rr�rrr r s��� ��"� "rr c�BeZdZdZdd�Zdd�Zd d�Zed d��Zd 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 rrzGetCoreSchemaHandler.__call__E ��"�!rc��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. rr%s r�generate_schemaz$GetCoreSchemaHandler.generate_schemaTr'rc��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 rrz'GetCoreSchemaHandler.resolve_ref_schemacrrc��t�)z4Get the name of the closest field to this validator.r�rs r field_namezGetCoreSchemaHandler.field_namess ��"�!rc��t�)zGInternal method used during type resolution for serializer annotations.rr-s r�_get_types_namespacez)GetCoreSchemaHandler._get_types_namespacexs��!�!rN)r&rr�core_schema.CoreSchema)r+r1rr1)rz str | None)rr ) rrrr rr)r�propertyr.r0r"rrr r Bs-��N� " "�"� �"��"�"rr N)r __future__r� _annotations�typingrrr� pydantic_corer�_internal._namespace_utilsrjson_schemar r CoreSchema ModelField�DataclassField�TypedDictField ComputedFieldr�__all__r r r"rr�<module>r?sv��e�2�,�,�%��;�<���������"�"��"�"��!�!�  #��� 9��'"'"�T8"�8"r