96 matches across 1 files for error path:libs/core/langchain_core/tools/base.py lang:Python
snippet_mode: grep · sorted by relevance
libs/core/langchain_core/tools/base.py PYTHON 96 matches · showing 5 view file →
31 PydanticDeprecationWarning,
32 SkipValidation,
33 ValidationError,
34 validate_arguments,
35)
· · ·
36from pydantic.fields import FieldInfo
37from pydantic.v1 import BaseModel as BaseModelV1
38from pydantic.v1 import ValidationError as ValidationErrorV1
39from pydantic.v1 import validate_arguments as validate_arguments_v1
40from typing_extensions import override
· · ·
87
88
89class SchemaAnnotationError(TypeError):
90 """Raised when `args_schema` is missing or has an incorrect type annotation."""
91
· · ·
154
155def _parse_python_function_docstring(
156 function: Callable, annotations: dict, *, error_on_invalid_docstring: bool = False
157) -> tuple[str, dict]:
158 """Parse function and argument descriptions from a docstring.
· · ·
163 function: The function to parse the docstring from.
164 annotations: Type annotations for the function parameters.
165 error_on_invalid_docstring: Whether to raise an error on invalid docstring.
166
167 Returns:
+ 91 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.