fL iJ~dZddlmZddlmZddlmZmZddlm Z ddl m Z ddl m Z mZmZ d d d Zy) zdExperimental module exposing a function to generate a core schema that validates callable arguments.) annotations)Callable)AnyLiteral) CoreSchema) ConfigDict)_config_generate_schema_namespace_utilsNctjtj|t j t j |}|dk(r|j||}n|j||}|j|S)aGenerate the schema for the arguments of a function. Args: func: The function to generate the schema for. schema_type: The type of schema to generate. parameters_callback: A callable that will be invoked for each parameter. The callback should take three required arguments: the index, the name and the type annotation (or [`Parameter.empty`][inspect.Parameter.empty] if not annotated) of the parameter. The callback can optionally return `'skip'`, so that the parameter gets excluded from the resulting schema. config: The configuration to use. Returns: The generated schema. )namespaces_tuple) ns_resolver arguments) r GenerateSchemar ConfigWrapperr NsResolverns_for_function_arguments_schema_arguments_v3_schema clean_schema)func schema_typeparameters_callbackconfiggenerate_schemaschemas l/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pydantic/experimental/arguments_schema.pygenerate_arguments_schemars~*'55f%$//AQAaAabfAghO k! 2249LM 55dr)s]j"$$JJ 9GTX $ 0 050R0  0  0r