Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for slove (8.31 sec)

  1. fastapi/dependencies/utils.py

        if inspect.isgeneratorfunction(call):
            return True
        dunder_call = getattr(call, "__call__", None)  # noqa: B004
        return inspect.isgeneratorfunction(dunder_call)
    
    
    async def solve_generator(
        *, call: Callable[..., Any], stack: AsyncExitStack, sub_values: Dict[str, Any]
    ) -> Any:
        if is_gen_callable(call):
            cm = contextmanager_in_threadpool(contextmanager(call)(**sub_values))
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. fastapi/routing.py

    from fastapi.dependencies.models import Dependant
    from fastapi.dependencies.utils import (
        get_body_field,
        get_dependant,
        get_parameterless_sub_dependant,
        get_typed_return_annotation,
        solve_dependencies,
    )
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import (
        FastAPIError,
        RequestValidationError,
        ResponseValidationError,
        WebSocketRequestValidationError,
    )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top