Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NOTE (0.14 sec)

  1. docs/en/docs/tutorial/index.md

    ---
    
    ## Install FastAPI
    
    The first step is to install FastAPI:
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    !!! note
        When you install with `pip install fastapi` it comes with some default optional standard dependencies.
    
        If you don't want to have those optional dependencies, you can instead install `pip install fastapi-slim`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/en/docs/index.md

    @app.get("/")
    async def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    **Note**:
    
    If you don't know, check the _"In a hurry?"_ section about <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank">`async` and `await` in the docs</a>.
    
    </details>
    
    ### Run it
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top