Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for Func (0.02 seconds)

  1. fastapi/routing.py

    # dependencies' AsyncExitStack
    def request_response(
        func: Callable[[Request], Union[Awaitable[Response], Response]],
    ) -> ASGIApp:
        """
        Takes a function or coroutine `func(request) -> response`,
        and returns an ASGI application.
        """
        f: Callable[[Request], Awaitable[Response]] = (
            func if is_async_callable(func) else functools.partial(run_in_threadpool, func)  # type:ignore
        )
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  2. docs/en/docs/release-notes.md

    * 🌐 Sync German docs. PR [#14317](https://github.com/fastapi/fastapi/pull/14317) by [@nilslindemann](https://github.com/nilslindemann).
    
    ## 0.121.1
    
    ### Fixes
    
    * 🐛 Fix `Depends(func, scope='function')` for top level (parameterless) dependencies. PR [#14301](https://github.com/fastapi/fastapi/pull/14301) by [@luzzodev](https://github.com/luzzodev).
    
    ### Docs
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
Back to Top