ó
    pyüiõ­  ã                  óì  • % S r SSKJr  SSKrSSKJr  SSKJrJ	r	J
r
JrJrJrJrJr  SSKJrJrJrJr  SSKJr  SS	KJr  SS
KJr  SSKJr  \(       a  SSKJr  SSKJ r J!r!  Sr"\\#\$\%\&S\'S   S4   r(S\)S'   \*\%\(4   r+S\)S'   \
\	/\	4   r,\\
\+/S4   \
\+\-\	   /S4   4   r.S\)S'   \S   r/ " S S\SS9r0\" S\-S9r1\\" S5      SS j5       5       r2\SS j5       r2\S S j5       r2S!S"S jjr2\" \35      r4g)#z"Configuration for Pydantic models.é    )ÚannotationsN)ÚPattern)ÚTYPE_CHECKINGÚAnyÚCallableÚLiteralÚTypeVarÚUnionÚcastÚoverload)Ú	TypeAliasÚ	TypedDictÚUnpackÚ
deprecatedé   )Úgetattr_migration)ÚAliasGenerator)ÚPydanticUserError)ÚPydanticDeprecatedSince211)ÚGenerateSchema)ÚComputedFieldInfoÚ	FieldInfo)Ú
ConfigDictÚwith_configÚ	JsonValueÚJsonDictr   ÚJsonSchemaExtraCallable)ÚallowÚignoreÚforbidc                  óX  • \ rS rSr% SrS\S'    S\S'    S\S'    S	\S
'    S	\S'    S	\S'    S\S'    S\S'    S\S'    S	\S'    S	\S'    S	\S'    S	\S'    S	\S'    S	\S'    S	\S'    S\S'    S\S'    S	\S'    S\S '    S!\S"'    S	\S#'    S$\S%'    S&\S''    S(\S)'    S*\S+'    S,\S-'    S,\S.'    S/\S0'    S	\S1'    S	\S2'    S3\S4'    S	\S5'    S	\S6'    S7\S8'    S9\S:'    S	\S;'    S<\S='    S	\S>'    S?\S@'    S	\SA'    S	\SB'    SC\SD'    S	\SE'    S	\SF'    S	\SG'    S	\SH'    S	\SI'   SJrgK)Lr   é$   z/A TypedDict for configuring Pydantic behaviour.z
str | NoneÚtitlezCallable[[type], str] | NoneÚmodel_title_generatorz:Callable[[str, FieldInfo | ComputedFieldInfo], str] | NoneÚfield_title_generatorÚboolÚstr_to_lowerÚstr_to_upperÚstr_strip_whitespaceÚintÚstr_min_lengthz
int | NoneÚstr_max_lengthzExtraValues | NoneÚextraÚfrozenÚpopulate_by_nameÚuse_enum_valuesÚvalidate_assignmentÚarbitrary_types_allowedÚfrom_attributesÚloc_by_aliasz,Callable[[str], str] | AliasGenerator | NoneÚalias_generatorztuple[type, ...]Úignored_typesÚallow_inf_nanz)JsonDict | JsonSchemaExtraCallable | NoneÚjson_schema_extraz&dict[type[object], JsonEncoder] | NoneÚjson_encodersÚstrictz0Literal['always', 'never', 'subclass-instances']Úrevalidate_instanceszLiteral['iso8601', 'float']Úser_json_timedeltaz-Literal['iso8601', 'seconds', 'milliseconds']Úser_json_temporalz+Literal['seconds', 'milliseconds', 'infer']Úval_temporal_unitz Literal['utf8', 'base64', 'hex']Úser_json_bytesÚval_json_bytesz'Literal['null', 'constants', 'strings']Úser_json_inf_nanÚvalidate_defaultÚvalidate_returnztuple[str | Pattern[str], ...]Úprotected_namespacesÚhide_input_in_errorsÚdefer_buildzdict[str, object] | NoneÚplugin_settingsztype[_GenerateSchema] | NoneÚschema_generatorÚ+json_schema_serialization_defaults_requiredz,Literal['validation', 'serialization', None]Újson_schema_mode_overrideÚcoerce_numbers_to_strz"Literal['rust-regex', 'python-re']Úregex_engineÚvalidation_error_causeÚuse_attribute_docstringsz%bool | Literal['all', 'keys', 'none']Úcache_stringsÚvalidate_by_aliasÚvalidate_by_nameÚserialize_by_aliasÚurl_preserve_empty_pathÚpolymorphic_serialization© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__annotations__Ú__static_attributes__rU   ó    ÚL/home/mande/repo/quber/.venv/lib/python3.13/site-packages/pydantic/config.pyr   r   $   sT  ‡ Ù9àÓØOà7Ó7Ø_àUÓUØeàÓØ\àÓØ\àÓØIàÓØ?àÓØ?àÓðqðf ƒLðð Óð$ðL Óð$ðL Óð1ðf "Ó!ð4ðl Óðð Óð MàAÓAð8ðt $Ó#ðð ÓØvà@Ó@ØYà9Ó9ðð ƒLðð: KÓJðEðN 4Ó3ðð EÓDðð, CÓBðð$ 5Ó4ðð 5Ó4ð
ð >Ó=ðð ÓØTàÓØYà8Ó8ð[ðz Óð)ðV Óð
ð .Ó-Ø?à2Ó2ðð 26Ó5ð'ðR  LÓKð7ðr  Óð#ðJ 5Ó4ð$ðL !Ó ðð #Ó"ð&ðP 9Ó8ðð* Óð"ðH Óð$ðL ÓððB "Ó!ðð(  $Ó#òr]   r   F)ÚtotalÚ_TypeT)ÚboundzePassing `config` as a keyword argument is deprecated. Pass `config` as a positional argument instead.c                ó   • g ©NrU   ©Úconfigs    r^   r   r   Ã  s   € àFIr]   c               ó   • g rc   rU   rd   s    r^   r   r   È  s   € ØFIr]   c                 ó   • g rc   rU   rd   s    r^   r   r   Ì  s   € ØMPr]   c               ó  ^• U b  U(       a  [        S5      e[        U5      S:X  a?  UR                  S5      =nb+  [        R                  " S[
        SS9  [        [        U5      mOU b  U O[        [        U5      mSU4S jjnU$ )	a¨  !!! abstract "Usage Documentation"
    [Configuration with other types](../concepts/config.md#configuration-on-other-supported-types)

A convenience decorator to set a [Pydantic configuration](config.md) on a `TypedDict` or a `dataclass` from the standard library.

Although the configuration can be set using the `__pydantic_config__` attribute, it does not play well with type checkers,
especially with `TypedDict`.

!!! example "Usage"

    ```python
    from typing_extensions import TypedDict

    from pydantic import ConfigDict, TypeAdapter, with_config

    @with_config(ConfigDict(str_to_lower=True))
    class TD(TypedDict):
        x: str

    ta = TypeAdapter(TD)

    print(ta.validate_python({'x': 'ABC'}))
    #> {'x': 'abc'}
    ```

/// deprecated-removed | v2.11 v3
Passing `config` as a keyword argument.
///

/// version-changed | v2.11
Keyword arguments can be provided directly instead of a config dictionary.
///
z2Cannot specify both `config` and keyword argumentsr   re   zdPassing `config` as a keyword argument is deprecated. Pass `config` as a positional argument insteadé   )ÚcategoryÚ
stacklevelc               ól   >• SSK Jn  U" U 5      (       a  [        SU R                   S3SS9eTU l        U $ )Nr   )Úis_model_classzCannot use `with_config` on z as it is a Pydantic modelzwith-config-on-model)Úcode)Ú_internal._utilsrm   r   rV   Ú__pydantic_config__)Úclass_rm   Úfinal_configs     €r^   ÚinnerÚwith_config.<locals>.innerÿ  sD   ø€ õ 	5á˜&×!Ñ!Ü#Ø.¨v¯©Ð.?Ð?YÐZØ+ñð ð &2ˆÔ"Øˆr]   )rq   r`   Úreturnr`   )Ú
ValueErrorÚlenÚgetÚwarningsÚwarnr   r   r   )re   ÚkwargsÚkwargs_confrs   rr   s       @r^   r   r   Ð  s{   ø€ ðD ÑžfÜÐMÓNÐNä
ˆ6ƒ{�aÓ¨F¯J©J°xÓ,@Ð@˜[ÑMÜ�ŠØrÜ/Øò	
ô
 œJ¨Ó4‰à!'Ñ!3‘v¼¼jÈ&Ó9Qˆ÷ð €Lr]   )re   r   ru   úCallable[[_TypeT], _TypeT])re   zUnpack[ConfigDict]ru   r}   rc   )re   zConfigDict | Noner{   r   ru   r}   )5rZ   Ú
__future__r   Ú_annotationsry   Úrer   Útypingr   r   r   r   r	   r
   r   r   Útyping_extensionsr   r   r   r   Ú
_migrationr   Úaliasesr   Úerrorsr   r   Ú_internal._generate_schemar   Ú_GenerateSchemaÚfieldsr   r   Ú__all__r*   ÚfloatÚstrr&   Úlistr   r[   Údictr   ÚJsonEncoderÚtyper   ÚExtraValuesr   r`   r   rV   Ú__getattr__rU   r]   r^   Ú<module>r’      s;  ðÚ (å 2ã Ý ß X× XÓ Xç FÓ Få )Ý #Ý %Ý 0æÝMß4à
'€ð ˜S %¨¨d°D¸$¸{Ñ:KÈZÐWÑX€	ˆ9Ó XØ˜3 	˜>Ñ*€ˆ)Ó *à˜�u˜c�zÑ"€à%*ØˆhˆZ˜ÐÑØˆh˜˜S™	Ð" DÐ(Ñ)ð+ñ&Ð ˜ó ð
 Ð1Ñ2€ôY� %ò Yñx$ 
� Ñ	&€ð 
ÙÐsÓtÛ Ió uó 
à Ið 
Û Ió 
Ø Ið 
Û Pó 
Ø Pö=ñ@   Ó)�r]   