Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for imported3 (0.11 sec)

  1. docs/en/docs/python-types.md

    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial006.py!}
    ```
    
    Declare the variable, with the same colon (`:`) syntax.
    
    As the type, put the `List` that you imported from `typing`.
    
    As the list is a type that contains some internal types, you put them in square brackets:
    
    ```Python hl_lines="4"
    {!> ../../docs_src/python_types/tutorial006.py!}
    ```
    
    ////
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

        * It's mainly syntax sugar, a convenience for developer experience.
        * Now `Request`, `Response`, `WebSocket`, `status` can be imported directly from `fastapi` as in `from fastapi import Response`. This is because those are frequently used, to use the request directly, to set headers and cookies, to get status codes, etc.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:51:17 UTC 2024
    - 449.4K bytes
    - Viewed (0)
Back to top