Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prime (0.02 sec)

  1. docs/en/data/github_sponsors.yml

        avatarUrl: https://avatars.githubusercontent.com/u/29543316?u=44357eb2a93bccf30fb9d389b8befe94a3d00985&v=4
        url: https://github.com/alixlahuec
    - - login: primer-io
        avatarUrl: https://avatars.githubusercontent.com/u/62146168?v=4
        url: https://github.com/primer-io
    - - login: upciti
        avatarUrl: https://avatars.githubusercontent.com/u/43346262?v=4
        url: https://github.com/upciti
      - login: giunio-prc
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 08:58:22 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    @app.get("/items/")
    async def read_items() -> list[Item]:
        return [
            Item(name="Portal Gun", price=42.0),
            Item(name="Plumbus", price=32.0),
        ]
    ```
    
    FastAPI will use the return type annotation to perform:
    
    * Data validation
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top