Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for stream_items_invalid_sync (0.09 seconds)

  1. tests/test_stream_json_validation_error.py

    async def stream_items_invalid() -> AsyncIterable[Item]:
        yield {"name": "valid", "price": 1.0}
        yield {"name": "invalid", "price": "not-a-number"}
    
    
    @app.get("/items/stream-invalid-sync")
    def stream_items_invalid_sync() -> Iterable[Item]:
        yield {"name": "valid", "price": 1.0}
        yield {"name": "invalid", "price": "not-a-number"}
    
    
    client = TestClient(app)
    
    
    def test_stream_json_validation_error_async():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 991 bytes
    - Click Count (0)
Back to Top