Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for filter (0.24 sec)

  1. docs/en/docs/tutorial/response-model.md

        * This will be used by the **automatic docs**.
        * It will also be used by automatic client code generation tools.
    
    But most importantly:
    
    * It will **limit and filter** the output data to what is defined in the return type.
        * This is particularly important for **security**, we'll see more of that below.
    
    ## `response_model` Parameter
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/general.md

    # General - How To - Recipes
    
    Here are several pointers to other places in the docs, for general or frequent questions.
    
    ## Filter Data - Security
    
    To ensure that you don't return more data than you should, read the docs for [Tutorial - Response Model - Return Type](../tutorial/response-model.md){.internal-link target=_blank}.
    
    ## Documentation Tags - OpenAPI
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. docs/en/docs/contributing.md

    In fact, those blocks of code are not written inside the Markdown, they are Python files in the `./docs_src/` directory.
    
    And those Python files are included/injected in the documentation when generating the site.
    
    ### Docs for tests
    
    Most of the tests actually run against the example source files in the documentation.
    
    This helps to make sure that:
    
    * The documentation is up-to-date.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/response-headers.md

    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    **FastAPI** will use that *temporal* response to extract the headers (also cookies and status code), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/response-change-status-code.md

    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    **FastAPI** will use that *temporal* response to extract the status code (also cookies and headers), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/request-files.md

    ๐Ÿ‘† ๐Ÿ’ช ๐Ÿ”ฌ ๐Ÿ“ ๐Ÿ“‚ ๐Ÿ‘ฉโ€๐Ÿ’ป โš™๏ธ `File`.
    
    !!! info
        ๐Ÿ“จ ๐Ÿ“‚ ๐Ÿ“, ๐Ÿฅ‡ โŽ <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        ๐Ÿคถ โ“‚. `pip install python-multipart`.
    
        ๐Ÿ‘‰ โ†ฉ๏ธ ๐Ÿ“‚ ๐Ÿ“ ๐Ÿ“จ "๐Ÿ“จ ๐Ÿ’ฝ".
    
    ## ๐Ÿ—„ `File`
    
    ๐Ÿ—„ `File` &amp; `UploadFile` โšช๏ธโžก๏ธ `fastapi`:
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_files/tutorial001.py!}
    ```
    
    ## ๐Ÿ”ฌ `File` ๐Ÿ”ข
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/static-files.md

    # Static Files
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles`
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    ```Python hl_lines="2  6"
    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.staticfiles import StaticFiles`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 19:56:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/request-files.md

    ```
    
    ## `File` ๋งค๊ฐœ๋ณ€์ˆ˜ ์ •์˜
    
    `Body` ๋ฐ `Form` ๊ณผ ๋™์ผํ•œ ๋ฐฉ์‹์œผ๋กœ ํŒŒ์ผ์˜ ๋งค๊ฐœ๋ณ€์ˆ˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค:
    
    ```Python hl_lines="7"
    {!../../../docs_src/request_files/tutorial001.py!}
    ```
    
    !!! info "์ •๋ณด"
        `File` ์€ `Form` ์œผ๋กœ๋ถ€ํ„ฐ ์ง์ ‘ ์ƒ์†๋œ ํด๋ž˜์Šค์ž…๋‹ˆ๋‹ค.
    
        ํ•˜์ง€๋งŒ `fastapi`๋กœ๋ถ€ํ„ฐ `Query`, `Path`, `File` ๋“ฑ์„ ์ž„ํฌํŠธ ํ•  ๋•Œ, ์ด๊ฒƒ๋“ค์€ ํŠน๋ณ„ํ•œ ํด๋ž˜์Šค๋“ค์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ํ•จ์ˆ˜๋ผ๋Š” ๊ฒƒ์„ ๊ธฐ์–ตํ•˜๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.
    
    !!! tip "ํŒ"
        File์˜ ๋ณธ๋ฌธ์„ ์„ ์–ธํ•  ๋•Œ, ๋งค๊ฐœ๋ณ€์ˆ˜๊ฐ€ ์ฟผ๋ฆฌ ๋งค๊ฐœ๋ณ€์ˆ˜ ๋˜๋Š” ๋ณธ๋ฌธ(JSON) ๋งค๊ฐœ๋ณ€์ˆ˜๋กœ ํ•ด์„๋˜๋Š”  ๊ฒƒ์„ ๋ฐฉ์ง€ํ•˜๊ธฐ ์œ„ํ•ด `File` ์„ ์‚ฌ์šฉํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/request-forms-and-files.md

        ```
    
    === "Python 3.6+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_forms_and_files/tutorial001_an.py!}
        ```
    
    === "Python 3.6+ ะฑะตะท Annotated"
    
        !!! tip "ะŸะพะดัะบะฐะทะบะฐ"
            ะŸั€ะตะดะฟะพั‡ั‚ะธั‚ะตะปัŒะฝะตะต ะธัะฟะพะปัŒะทะพะฒะฐั‚ัŒ ะฒะตั€ัะธัŽ ั ะฐะฝะฝะพั‚ะฐั†ะธะตะน, ะตัะปะธ ัั‚ะพ ะฒะพะทะผะพะถะฝะพ.
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_forms_and_files/tutorial001.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. docs/en/docs/benchmarks.md

        * If you are comparing Starlette, compare it against Sanic, Flask, Django, etc. Web frameworks (or microframeworks).
    * **FastAPI**:
        * The same way that Starlette uses Uvicorn and cannot be faster than it, **FastAPI** uses Starlette, so it cannot be faster than it.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top