Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for __name__ (0.04 seconds)

  1. fastapi/routing.py

                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:
            ctx = EndpointContext()
    
        _endpoint_context_cache[func_id] = ctx
        return ctx
    
    
    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)
Back to Top