20 matches across 1 files for error lang:
snippet_mode: grep · sorted by relevance
libs/text-splitters/langchain_text_splitters/html.py PYTHON 20 matches · showing 5 view file →
39
40def _import_bs4(
41 *, import_error_message: str
42) -> tuple[type[BeautifulSoup], type[Tag], type[NavigableString]]:
43 try:
· · ·
44 from bs4 import BeautifulSoup, Tag # noqa: PLC0415
45 from bs4.element import NavigableString # noqa: PLC0415
46 except ImportError as err:
47 raise ImportError(import_error_message) from err
48 return BeautifulSoup, Tag, NavigableString
· · ·
47 raise ImportError(import_error_message) from err
48 return BeautifulSoup, Tag, NavigableString
49
· · ·
52 try:
53 from lxml import etree # noqa: PLC0415
54 except ImportError as err:
55 msg = "Unable to import lxml, please install with `pip install lxml`."
56 raise ImportError(msg) from err
· · ·
56 raise ImportError(msg) from err
57 return etree
58
+ 15 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.