Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 944 for fileB (0.02 sec)

  1. docs/ko/docs/tutorial/static-files.md

    {!../../docs_src/static_files/tutorial001.py!}
    ```
    
    /// note | "기술적 세부사항"
    
    `from starlette.staticfiles import StaticFiles` 를 사용할 수도 있습니다.
    
    **FastAPI**는 단지 개발자인, 당신에게 편의를 제공하기 위해 `fastapi.static files` 와 동일한 `starlett.static files`를 제공합니다. 하지만 사실 이것은 Starlett에서 직접 온 것입니다.
    
    ///
    
    ### "마운팅" 이란
    
    "마운팅"은 특정 경로에 완전히 "독립적인" 애플리케이션을 추가하는 것을 의미하는데, 그 후 모든 하위 경로에 대해서도 적용됩니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

    * You don't have to use `File()` in the default value of the parameter.
    * It uses a "spooled" file:
        * A file stored in memory up to a maximum size limit, and after passing this limit it will be stored in disk.
    * This means that it will work well for large files like images, videos, large binaries, etc. without consuming all the memory.
    * You can get metadata from the uploaded file.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/request-forms-and-files.md

    # Request Forms and Files
    
    You can define files and form fields at the same time using `File` and `Form`.
    
    /// info
    
    To receive uploaded files and/or form data, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example:
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. 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.
    
    {* ../../docs_src/static_files/tutorial001.py hl[2,6] *}
    
    /// note | "Technical Details"
    
    You could also use `from starlette.staticfiles import StaticFiles`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:45:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. docs/zh/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`
    
    从 `fastapi` 导入 `File` 和 `UploadFile`:
    
    ```Python hl_lines="1"
    {!../../docs_src/request_files/tutorial001.py!}
    ```
    
    ## 定义 `File` 参数
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/static-files.md

    ## Mais informações
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/static-files.md

    `name="static"` 提供了一个能被**FastAPI**内部使用的名字。
    
    所有这些参数可以不同于"`static`",根据你应用的需要和具体细节调整它们。
    
    ## 更多信息
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/request-files.md

    Mit `File` können sie vom Client hochzuladende Dateien definieren.
    
    /// info
    
    Um hochgeladene Dateien zu empfangen, installieren Sie zuerst <a href="https://andrew-d.github.io/python-multipart/" class="external-link" target="_blank">`python-multipart`</a>.
    
    Z. B. `pip install python-multipart`.
    
    Das, weil hochgeladene Dateien als „Formulardaten“ gesendet werden.
    
    ///
    
    ## `File` importieren
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. 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` 🔢
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/static-files.md

    Sebastián Ramírez <******@****.***> 1728247014 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top