Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for input_message (0.04 sec)

  1. tests/test_no_schema_split.py

    
    @app.post("/messages", response_model=Message)
    async def create_message(input_message: str) -> Message:
        return Message(
            input=input_message,
            output=MessageOutput(body=f"Processed: {input_message}"),
        )
    
    
    client = TestClient(app)
    
    
    def test_create_message():
        response = client.post("/messages", params={"input_message": "Hello"})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top