- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 653 for files (0.3 sec)
-
docs/en/docs/tutorial/request-files.md
# Request Files You can define files to be uploaded by the client using `File`. !!! info To receive uploaded files, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>. E.g. `pip install python-multipart`. This is because uploaded files are sent as "form data". ## Import `File` Import `File` and `UploadFile` from `fastapi`: === "Python 3.9+"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 10.2K bytes - Viewed (0) -
docs/de/docs/tutorial/request-files.md
{!> ../../../docs_src/request_files/tutorial001_an_py39.py!} ``` === "Python 3.8+" ```Python hl_lines="1" {!> ../../../docs_src/request_files/tutorial001_an.py!} ``` === "Python 3.8+ nicht annotiert" !!! tip "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. ```Python hl_lines="1" {!> ../../../docs_src/request_files/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 17:58:08 GMT 2024 - 11.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/static-files.md
# 静态文件 您可以使用 `StaticFiles`从目录中自动提供静态文件。 ## 使用`StaticFiles` * 导入`StaticFiles`。 * "挂载"(Mount) 一个 `StaticFiles()` 实例到一个指定路径。 ```Python hl_lines="2 6" {!../../../docs_src/static_files/tutorial001.py!} ``` !!! note "技术细节" 你也可以用 `from starlette.staticfiles import StaticFiles`。 **FastAPI** 提供了和 `starlette.staticfiles` 相同的 `fastapi.staticfiles` ,只是为了方便你,开发者。但它确实来自Starlette。 ### 什么是"挂载"(Mounting)
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Jun 03 12:49:32 GMT 2023 - 1.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/static-files.md
# 静的ファイル `StaticFiles` を使用して、ディレクトリから静的ファイルを自動的に提供できます。 ## `StaticFiles` の使用 * `StaticFiles` をインポート。 * `StaticFiles()` インスタンスを生成し、特定のパスに「マウント」。 ```Python hl_lines="2 6" {!../../../docs_src/static_files/tutorial001.py!} ``` !!! note "技術詳細" `from starlette.staticfiles import StaticFiles` も使用できます。 **FastAPI**は、開発者の利便性のために、`starlette.staticfiles` と同じ `fastapi.staticfiles` を提供します。しかし、実際にはStarletteから直接渡されています。
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue May 10 01:07:37 GMT 2022 - 2.1K bytes - Viewed (0) -
docs/ru/docs/tutorial/static-files.md
## Использование `StaticFiles` * Импортируйте `StaticFiles`. * "Примонтируйте" экземпляр `StaticFiles()` с указанием определенной директории. ```Python hl_lines="2 6" {!../../../docs_src/static_files/tutorial001.py!} ``` !!! note "Технические детали" Вы также можете использовать `from starlette.staticfiles import StaticFiles`.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.1K bytes - Viewed (0) -
docs/en/docs/tutorial/request-forms-and-files.md
```Python hl_lines="8" {!> ../../../docs_src/request_forms_and_files/tutorial001.py!} ``` The files and form fields will be uploaded as form data and you will receive the files and form fields. And you can declare some of the files as `bytes` and some as `UploadFile`. !!! warning
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats
grep -e "\.py$" $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi xargs -a $BATS_TEST_TMPDIR/files -n1 -P $(nproc --all) \ python -m pylint --rcfile=tensorflow/tools/ci_build/pylintrc --score false \ | grep -v "**** Module" \ | tee $BATS_TEST_TMPDIR/needs_help.txt [[ ! -s $BATS_TEST_TMPDIR/needs_help.txt ]] } teardown_file() {
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 3.6K bytes - Viewed (0) -
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 Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 2.9K bytes - Viewed (0) -
docs/de/docs/tutorial/request-forms-and-files.md
``` === "Python 3.8+" ```Python hl_lines="1" {!> ../../../docs_src/request_forms_and_files/tutorial001_an.py!} ``` === "Python 3.8+ nicht annotiert" !!! tip "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. ```Python hl_lines="1" {!> ../../../docs_src/request_forms_and_files/tutorial001.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 18:07:35 GMT 2024 - 2.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/request-forms-and-files.md
# 폼 및 파일 요청 `File` 과 `Form` 을 사용하여 파일과 폼을 함께 정의할 수 있습니다. !!! info "정보" 파일과 폼 데이터를 함께, 또는 각각 업로드하기 위해 먼저 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>를 설치해야합니다. 예 ) `pip install python-multipart`. ## `File` 및 `Form` 업로드 ```Python hl_lines="1" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` ## `File` 및 `Form` 매개변수 정의
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 1.5K bytes - Viewed (0)