18 matches across 1 files for func main lang:Python path:libs/core/langchain_core/callbacks/manager.py
snippet_mode: grep · sorted by relevance
libs/core/langchain_core/callbacks/manager.py PYTHON 18 matches · showing 5 view file →
5import asyncio
6import atexit
7import functools
8import logging
9from abc import ABC, abstractmethod
· · ·
215
216
217Func = TypeVar("Func", bound=Callable[..., Any])
218
219
· · ·
220def shielded(func: Func) -> Func:
221 """Makes so an awaitable method is always shielded from cancellation.
222
· · ·
223 Args:
224 func: The function to shield.
225
226 Returns:
· · ·
227 The shielded function
228
229 """
+ 13 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.