Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Warning (0.17 sec)

  1. tests/test_include_router_defaults_overrides.py

        assert not override4 or "x-level4" in response.headers
        assert not override5 or "x-level5" in response.headers
    
    
    def test_openapi():
        client = TestClient(app)
        with warnings.catch_warnings(record=True) as w:
            warnings.simplefilter("always")
            response = client.get("/openapi.json")
            assert issubclass(w[-1].category, UserWarning)
            assert "Duplicate Operation ID" in str(w[-1].message)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    * ✏️ Fix typos for Spanish documentation. PR [#10957](https://github.com/tiangolo/fastapi/pull/10957) by [@jlopezlira](https://github.com/jlopezlira).
    * 📝 Add warning about lifespan functions and backwards compatibility with events. PR [#10734](https://github.com/tiangolo/fastapi/pull/10734) by [@jacob-indigo](https://github.com/jacob-indigo).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top