Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Damato (0.18 sec)

  1. docs_src/async_tests/test_main.py

    @pytest.mark.anyio
    async def test_root():
        async with AsyncClient(app=app, base_url="http://test") as ac:
            response = await ac.get("/")
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Oct 06 15:32:11 GMT 2021
    - 306 bytes
    - Viewed (0)
  2. docs_src/async_tests/main.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    async def root():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 08 18:01:18 GMT 2020
    - 112 bytes
    - Viewed (0)
Back to top