- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 308 for Files (0.15 sec)
-
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 May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 03 12:49:32 GMT 2023 - 1.4K 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 May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 3.1K bytes - Viewed (0) -
docs/de/docs/tutorial/request-forms-and-files.md
## `File` und `Form` importieren === "Python 3.9+" ```Python hl_lines="3" {!> ../../../docs_src/request_forms_and_files/tutorial001_an_py39.py!} ``` === "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.
Plain Text - Registered: Sun May 05 07:19:11 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
예 ) `pip install python-multipart`. ## `File` 및 `Form` 업로드 ```Python hl_lines="1" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` ## `File` 및 `Form` 매개변수 정의 `Body` 및 `Query`와 동일한 방식으로 파일과 폼의 매개변수를 생성합니다: ```Python hl_lines="8" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` 파일과 폼 필드는 폼 데이터 형식으로 업로드되어 파일과 폼 필드로 전달됩니다. 어떤 파일들은 `bytes`로, 또 어떤 파일들은 `UploadFile`로 선언할 수 있습니다.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 1.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-forms-and-files.md
例如,`pip install python-multipart`。 ## 导入 `File` 与 `Form` ```Python hl_lines="1" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` ## 定义 `File` 与 `Form` 参数 创建文件和表单参数的方式与 `Body` 和 `Query` 一样: ```Python hl_lines="8" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` 文件和表单字段作为表单数据上传与接收。 声明文件可以使用 `bytes` 或 `UploadFile` 。 !!! warning "警告"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 1.1K bytes - Viewed (0) -
.cm/javadoc_on_new_files.cm
# its own file. on: - pr_created - commit - comment_added automations: javadoc_on_new_files: # Triggered for new Java files that lack Javadoc content. if: - {{ ('javadoc_on_new_files' | isEnabledAutomation(pr)) }} - {{ is.java and is.new }} - {{ source.diff.files | matchDiffLines(regex=r/\/*\*([\s\S]*?)\//) | nope }} run: - action: add-label@v1 args:
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.8K bytes - Viewed (0) -
docs/en/docs/tutorial/request-forms-and-files.md
{!> ../../../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 May 05 07:19:11 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
# have passed Google's internal style guidelines. @test "Check pylint for Python files" { echo "Python formatting is recommended. Here are the pylint errors:" echo "=============================" 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) \
Plain Text - Registered: Tue May 07 12:40:20 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
## Импортируйте `File` и `Form` === "Python 3.9+" ```Python hl_lines="3" {!> ../../../docs_src/request_forms_and_files/tutorial001_an_py39.py!} ``` === "Python 3.6+" ```Python hl_lines="1" {!> ../../../docs_src/request_forms_and_files/tutorial001_an.py!} ``` === "Python 3.6+ без Annotated" !!! tip "Подсказка"
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) -
ci/official/utilities/code_check_changed_files.bats
# have passed Google's internal style guidelines. @test "Check pylint for Python files" { echo "Python formatting is recommended. Here are the pylint errors:" echo "=============================" 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) \
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0)