Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Subject (0.15 sec)

  1. tests/test_annotated.py

    async def required(foo: Annotated[str, Query(min_length=1)]):
        return {"foo": foo}
    
    
    @app.get("/multiple")
    async def multiple(foo: Annotated[str, object(), Query(min_length=1)]):
        return {"foo": foo}
    
    
    @app.get("/unrelated")
    async def unrelated(foo: Annotated[str, object()]):
        return {"foo": foo}
    
    
    client = TestClient(app)
    
    foo_is_missing = {
        "detail": [
            IsDict(
                {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top