Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for is_coroutine_callable (0.12 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top