Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for is_async_gen_callable (0.09 seconds)

  1. fastapi/dependencies/models.py

                _impartial(dunder_unwrapped_call)
            ) or inspect.isgeneratorfunction(_unwrapped_call(dunder_unwrapped_call)):
                return True
            return False
    
        @cached_property
        def is_async_gen_callable(self) -> bool:
            if self.call is None:
                return False  # pragma: no cover
            if inspect.isasyncgenfunction(
                _impartial(self.call)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. fastapi/dependencies/utils.py

            )
            if param_details.depends is not None:
                assert param_details.depends.dependency
                if (
                    (dependant.is_gen_callable or dependant.is_async_gen_callable)
                    and dependant.computed_scope == "request"
                    and param_details.depends.scope == "function"
                ):
                    assert dependant.call
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 37.6K bytes
    - Click Count (3)
Back to Top