Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for is_coroutine_callable (0.32 sec)

  1. fastapi/dependencies/utils.py

                field_info_in == params.ParamTypes.cookie
            ), f"non-body parameters must be in path, query, header or cookie: {field.name}"
            dependant.cookie_params.append(field)
    
    
    def is_coroutine_callable(call: Callable[..., Any]) -> bool:
        if inspect.isroutine(call):
            return inspect.iscoroutinefunction(call)
        if inspect.isclass(call):
            return False
    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)
Back to top