Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for is_async_gen_callable (0.06 sec)

  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)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (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
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
Back to top