+
    }i                    R  a  0 t $ R t^ RIHt ^ RIt^ RIHt ^ RIH	t	H
t
HtHtHtHtHtHt ^ RIHtHtHtHt ^RIHt ^RIHt ^RIHt ^R	IHt ]	'       d   ^R
IHt ^RI H!t!H"t" Rt#]]$]%]&]'R](R,          R3,          t)R]*R&   ]+]&])3,          t,R]*R&   ]]
.]
3,          t-]]],.R3,          ]],].]
,          .R3,          3,          t/R]*R&   ]R ,          t0 ! R R]RR7      t1]! R].R7      t2]]! R4      R R l4       4       t3]R R l4       t3]R R l4       t3R!R R llt3]! ]44      t5R# )"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	JsonValueJsonDictr   JsonSchemaExtraCallablec                  N   ] tR t^$t$ RtR]R&    R]R&    R]R&    R]R	&    R]R
&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R]R&    R ]R!&    R]R"&    R#]R$&    R%]R&&    R']R(&    R)]R*&    R+]R,&    R+]R-&    R.]R/&    R]R0&    R]R1&    R2]R3&    R]R4&    R]R5&    R6]R7&    R8]R9&    R]R:&    R;]R<&    R]R=&    R>]R?&    R]R@&    R]RA&    RB]RC&    R]RD&    R]RE&    R]RF&    R]RG&   RHtRI# )Jr   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 N)__name__
__module____qualname____firstlineno____doc____annotations____static_attributes__rM       a/Users/ahmad/.openclaw/workspace/my-crawler/.venv/lib/python3.14/site-packages/pydantic/config.pyr   r   $   sG   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 "!rU   F)total_TypeT)boundzePassing `config` as a keyword argument is deprecated. Pass `config` as a positional argument instead.c                    V ^8  d   QhRRRR/#    configr   returnCallable[[_TypeT], _TypeT]rM   )formats   "rV   __annotate__ra     s     I I: I*D IrU   c                    R # NrM   r]   s   $rV   with_configre     s    FIrU   c                    V ^8  d   QhRRRR/# r[   rM   )r`   s   "rV   ra   ra     s     I I
 I*D IrU   c                   R # rc   rM   rd   s   "rV   re   re     s    FIrU   c                    V ^8  d   QhRRRR/# )r\   r]   zUnpack[ConfigDict]r^   r_   rM   )r`   s   "rV   ra   ra     s     P P, P1K PrU   c                     R # rc   rM   rd   s   ,rV   re   re     s    MPrU   c               $    V ^8  d   QhRRRRRR/# )r\   r]   zConfigDict | Nonekwargsr   r^   r_   rM   )r`   s   "rV   ra   ra     s#     = =) =s =Ga =rU   c                 a V e   V'       d   \        R4      h\        V4      ^8X  dD   VP                  R4      ;pe/   \        P                  ! R\
        ^R7       \        \        V4      oMV e   T M\        \        V4      oR V3R llpV# )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]   zdPassing `config` as a keyword argument is deprecated. Pass `config` as a positional argument instead)category
stacklevelc                    V ^8  d   QhRRRR/# )r\   class_rX   r^   rM   )r`   s   "rV   ra   !with_config.<locals>.__annotate__  s      f F rU   c               t   < ^RI Hp V! V 4      '       d   \        RV P                   R2RR7      hSV n        V # )   )is_model_classzCannot use `with_config` on z as it is a Pydantic modelzwith-config-on-model)code)_internal._utilsrt   r   rN   __pydantic_config__)rp   rt   final_configs   " rV   innerwith_config.<locals>.inner  sD     	5&!!#.v.??YZ+  &2"rU   )
ValueErrorlengetwarningswarnr   r
   r   )r]   rk   kwargs_confry   rx   s   ",  @rV   re   re     s    D fMNN
6{aFJJx,@@[Mr/	

 J4!'!3vj&9Q  LrU   )r   re   )allowignoreforbidrc   )6__conditional_annotations__rR   
__future__r   _annotationsr~   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   rS   dictr   JsonEncodertyper   ExtraValuesr   rX   re   rN   __getattr__)r   s   @rV   <module>r      s<   ( 2   X X X F F ) # % 0M4
' S%dD${:KZWX	9 X3	>*) *ucz"%*hZhS	"D()+&  
 12Q% Qh$ 
	& 
st I u 
 I 
 I 
 I 
 P 
 P=@  )rU   