- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getsourcelines (0.16 sec)
-
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:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 174.6K bytes - Viewed (0)