- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for getsourcelines (0.08 seconds)
-
fastapi/routing.py
try: ctx: EndpointContext = {} if (source_file := inspect.getsourcefile(func)) is not None: ctx["file"] = source_file if (line_number := inspect.getsourcelines(func)[1]) is not None: ctx["line"] = line_number if (func_name := getattr(func, "__name__", None)) is not None: ctx["function"] = func_name except Exception:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0)