Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for create_message (0.3 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_no_schema_split.py

    
    class Message(BaseModel):
        input: str
        output: MessageOutput
    
    
    app = FastAPI(title="Minimal FastAPI App", version="1.0.0")
    
    
    @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)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top