Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stack (0.13 sec)

  1. fastapi/routing.py

        async def app(websocket: WebSocket) -> None:
            async with AsyncExitStack() as async_exit_stack:
                # TODO: remove this scope later, after a few releases
                # This scope fastapi_astack is no longer used by FastAPI, kept for
                # compatibility, just in case
                websocket.scope["fastapi_astack"] = async_exit_stack
                solved_result = await solve_dependencies(
                    request=websocket,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  2. fastapi/applications.py

            )
    
            self.user_middleware: List[Middleware] = (
                [] if middleware is None else list(middleware)
            )
            self.middleware_stack: Union[ASGIApp, None] = None
            self.setup()
    
        def openapi(self) -> Dict[str, Any]:
            """
            Generate the OpenAPI schema of the application. This is called by FastAPI
            internally.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top