- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,312 for files (0.15 sec)
-
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 Mar 24 07:19:08 GMT 2024 - Last Modified: Thu Jan 11 19:56:09 GMT 2024 - 1.6K bytes - Viewed (0) -
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` & `UploadFile` ⚪️➡️ `fastapi`: ```Python hl_lines="1" {!../../../docs_src/request_files/tutorial001.py!} ``` ## 🔬 `File` 🔢
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 6.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/static-files.md
## Использование `StaticFiles` * Импортируйте `StaticFiles`. * "Примонтируйте" экземпляр `StaticFiles()` с указанием определенной директории. ```Python hl_lines="2 6" {!../../../docs_src/static_files/tutorial001.py!} ``` !!! заметка "Технические детали" Вы также можете использовать `from starlette.staticfiles import StaticFiles`.
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Sat Jun 03 14:18:30 GMT 2023 - 3.1K bytes - Viewed (0) -
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 Mar 24 07:19:08 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 8.1K 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 Mar 24 07:19:08 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
# 请求表单与文件 FastAPI 支持同时使用 `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` 参数 创建文件和表单参数的方式与 `Body` 和 `Query` 一样:
Plain Text - Registered: Sun Mar 24 07:19:08 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 1.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 Mar 24 07:19:08 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 2K bytes - Viewed (0) -
.cm/javadoc_on_new_files.cm
# function as an implicit first `if` for every automation in the file. # You can define multiple automations in a .cm file, but each automation name should be unique # within the file. We keep each automation (or very closely related group of automations) in # its own file. on: - pr_created - commit automations: javadoc_on_new_files: # Triggered for new Java files that lack Javadoc content. if:
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Thu Feb 08 15:20:44 GMT 2024 - 2.1K bytes - Viewed (0) -
ci/official/code_check_changed_files.sh
# limitations under the License. # ============================================================================== source "${BASH_SOURCE%/*}/utilities/setup.sh"
Shell Script - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Oct 05 18:41:59 GMT 2023 - 850 bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
fi } # Note: this is excluded on the full code base, since any submitted code must # have passed Google's internal style guidelines. @test "Check buildifier formatting on BUILD files" { echo "buildifier formatting is recommended. Here are the suggested fixes:" echo "=============================" grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \
Plain Text - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0)