Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 8070 (0.02 sec)

  1. tests/test_openapi_servers.py

    from inline_snapshot import snapshot
    
    app = FastAPI(
        servers=[
            {"url": "/", "description": "Default, relative server"},
            {
                "url": "http://staging.localhost.tiangolo.com:8000",
                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    def foo():
        return {"message": "Hello World"}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_debugging/test_tutorial001.py

        with unittest.mock.patch("uvicorn.run") as uvicorn_run_mock:
            runpy.run_module(MOD_NAME, run_name="__main__")
    
        uvicorn_run_mock.assert_called_once_with(
            unittest.mock.ANY, host="0.0.0.0", port=8000
        )
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial011_an_py310.py hl[9] *}
    
    Dann, mit einer URL wie:
    
    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    würden Sie die mehreren `q`-*Query-Parameter*-Werte (`foo` und `bar`) in einer Python-`list` in Ihrer *Pfadoperation-Funktion* im *Funktionsparameter* `q` erhalten.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    * 🌐 Add Japanese translation for External Links. PR [#2070](https://github.com/tiangolo/fastapi/pull/2070) by [@tokusumi](https://github.com/tokusumi).
    * 🌐 Add Japanese translation for Tutorial - Body - Updates. PR [#1956](https://github.com/tiangolo/fastapi/pull/1956) by [@SwftAlpc](https://github.com/SwftAlpc).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top