U
    eq                     @  s  U d Z ddlmZ ddlmZmZmZmZm	Z	m
Z
mZ ddlmZmZmZ ddlmZ ddlmZ errddlmZ d	Zeeeeed
e	d df Zded< eeef Zded< eegef Zeeegd
f eee
e gd
f f Z ded< ed Z!G dd deddZ"ee#Z$d
S )z"Configuration for Pydantic models.    )annotations)TYPE_CHECKINGAnyCallableDictListTypeUnion)Literal	TypeAlias	TypedDict   )getattr_migration)AliasGenerator)GenerateSchema)
ConfigDictN	JsonValueJsonDictr   JsonSchemaExtraCallable)ZallowignoreZforbidc                   @  s2  e Zd ZU dZded< ded< ded< ded< ded	< d
ed< ded< ded< ded< ded< ded< ded< ded< ded< ded< ded< ded< ded< ded< ded< ded < d!ed"< d#ed$< d%ed&< ded'< ded(< d)ed*< ded+< ded,< d-ed.< d/ed0< ded1< d2ed3< ded4< d5ed6< ded7< d8S )9r   z/A TypedDict for configuring Pydantic behaviour.z
str | NonetitleboolZstr_to_lowerZstr_to_upperZstr_strip_whitespaceintZstr_min_lengthz
int | NoneZstr_max_lengthzExtraValues | NoneextrafrozenZpopulate_by_nameZuse_enum_valuesZvalidate_assignmentZarbitrary_types_allowedZfrom_attributesZloc_by_aliasz,Callable[[str], str] | AliasGenerator | NoneZalias_generatorztuple[type, ...]Zignored_typesZallow_inf_nanz)JsonDict | JsonSchemaExtraCallable | NoneZjson_schema_extraz&dict[type[object], JsonEncoder] | NoneZjson_encodersstrictz2Literal[('always', 'never', 'subclass-instances')]Zrevalidate_instanceszLiteral[('iso8601', 'float')]Zser_json_timedeltazLiteral[('utf8', 'base64')]Zser_json_byteszLiteral[('null', 'constants')]Zser_json_inf_nanZvalidate_defaultZvalidate_returnztuple[str, ...]Zprotected_namespacesZhide_input_in_errorsZdefer_buildzdict[str, object] | NoneZplugin_settingsztype[_GenerateSchema] | NoneZschema_generatorZ+json_schema_serialization_defaults_requiredz.Literal[('validation', 'serialization', None)]Zjson_schema_mode_overrideZcoerce_numbers_to_strz$Literal[('rust-regex', 'python-re')]Zregex_engineZvalidation_error_causeN)__name__
__module____qualname____doc____annotations__ r!   r!   3/tmp/pip-unpacked-wheel-6q_yhcy8/pydantic/config.pyr      sL   
G
!(47;		
L,	
'7&!r   F)total)%r   
__future__r   Z_annotationstypingr   r   r   r   r   r   r	   Ztyping_extensionsr
   r   r   Z
_migrationr   aliasesr   Z_internal._generate_schemar   Z_GenerateSchema__all__r   floatstrr   r   r    r   ZJsonEncoderr   ZExtraValuesr   r   __getattr__r!   r!   r!   r"   <module>   s2   $"      x