Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for post_with_callback (0.25 seconds)

  1. tests/test_generate_unique_id_function.py

            return item1, item2  # pragma: nocover
    
        @app.post(
            "/tocallback",
            response_model=list[Item],
            responses={404: {"model": list[Message]}},
        )
        def post_with_callback(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.json() == snapshot(
            {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 75K bytes
    - Click Count (0)
Back to Top