Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isgeneratorfunction (0.06 sec)

  1. fastapi/dependencies/models.py

        @cached_property
        def is_gen_callable(self) -> bool:
            if self.call is None:
                return False  # pragma: no cover
            if inspect.isgeneratorfunction(
                _impartial(self.call)
            ) or inspect.isgeneratorfunction(_unwrapped_call(self.call)):
                return True
            if inspect.isclass(_unwrapped_call(self.call)):
                return False
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top