Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _impartial (0.04 sec)

  1. fastapi/dependencies/models.py

    
    def _unwrapped_call(call: Optional[Callable[..., Any]]) -> Any:
        if call is None:
            return call  # pragma: no cover
        unwrapped = inspect.unwrap(_impartial(call))
        return unwrapped
    
    
    def _impartial(func: Callable[..., Any]) -> Callable[..., Any]:
        while isinstance(func, partial):
            func = func.func
        return func
    
    
    @dataclass
    class Dependant:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top