Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Talbot (0.18 sec)

  1. docs/pl/docs/index.md

        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Albo użyj <code>async def</code>...</summary>
    
    Jeżeli twój kod korzysta z `async` / `await`, użyj `async def`:
    
    ```Python hl_lines="9  14"
    from typing import Union
    
    from fastapi import FastAPI
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.4K bytes
    - Viewed (0)
Back to top