Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stacked (0.15 sec)

  1. tests/test_dependency_contextmanager.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    state = {
        "/async": "asyncgen not started",
        "/sync": "generator not started",
        "/async_raise": "asyncgen raise not started",
        "/sync_raise": "generator raise not started",
        "context_a": "not started a",
        "context_b": "not started b",
        "bg": "not set",
        "sync_bg": "not set",
    }
    
    errors = []
    
    
    async def get_state():
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. fastapi/routing.py

                async with AsyncExitStack() as async_exit_stack:
                    solved_result = await solve_dependencies(
                        request=request,
                        dependant=dependant,
                        body=body,
                        dependency_overrides_provider=dependency_overrides_provider,
                        async_exit_stack=async_exit_stack,
                    )
    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)
Back to top