- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,614 for file (0.02 seconds)
-
docs/en/docs/tutorial/request-files.md
/// ## Import `File` { #import-file } Import `File` and `UploadFile` from `fastapi`: {* ../../docs_src/request_files/tutorial001_an_py310.py hl[3] *} ## Define `File` Parameters { #define-file-parameters } Create file parameters the same way you would for `Body` or `Form`: {* ../../docs_src/request_files/tutorial001_an_py310.py hl[9] *} /// info `File` is a class that inherits directly from `Form`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7K bytes - Click Count (0) -
docs/ko/docs/tutorial/request-forms-and-files.md
# 폼 및 파일 요청 { #request-forms-and-files } `File` 과 `Form` 을 사용하여 파일과 폼 필드를 동시에 정의할 수 있습니다. /// info 업로드된 파일 및/또는 폼 데이터를 받으려면 먼저 [`python-multipart`](https://github.com/Kludex/python-multipart)를 설치해야 합니다. [가상 환경](../virtual-environments.md)을 생성하고, 활성화한 다음 설치해야 합니다. 예: ```console $ pip install python-multipart ``` /// ## `File` 및 `Form` 임포트 { #import-file-and-form }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 1.6K bytes - Click Count (0) -
docs/en/docs/tutorial/request-forms-and-files.md
## Import `File` and `Form` { #import-file-and-form } {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *} ## Define `File` and `Form` parameters { #define-file-and-form-parameters } Create file and form parameters the same way you would for `Body` or `Query`: {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 1.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-forms-and-files.md
# 请求表单与文件 { #request-forms-and-files } FastAPI 支持同时使用 `File` 和 `Form` 定义文件和表单字段。 /// info | 信息 接收上传的文件和/或表单数据,首先安装 [`python-multipart`](https://github.com/Kludex/python-multipart)。 请先创建并激活一个[虚拟环境](../virtual-environments.md),然后再安装,例如: ```console $ pip install python-multipart ``` /// ## 导入 `File` 与 `Form` { #import-file-and-form } {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 1.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/request-forms-and-files.md
你可以使用 `File` 與 `Form` 同時定義檔案與表單欄位。 /// info 要接收上傳的檔案與/或表單資料,請先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。 請先建立並啟用一個 [虛擬環境](../virtual-environments.md),然後再安裝,例如: ```console $ pip install python-multipart ``` /// ## 匯入 `File` 與 `Form` { #import-file-and-form } {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[3] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1.4K bytes - Click Count (0) -
docs/ja/docs/tutorial/request-forms-and-files.md
# リクエストフォームとファイル { #request-forms-and-files } `File`と`Form`を同時に使うことでファイルとフォームフィールドを定義することができます。 /// info | 情報 アップロードされたファイルやフォームデータを受信するには、まず[`python-multipart`](https://github.com/Kludex/python-multipart)をインストールします。 [仮想環境](../virtual-environments.md)を作成し、それを有効化してから、例えば次のようにインストールしてください: ```console $ pip install python-multipart ``` /// ## `File`と`Form`のインポート { #import-file-and-form }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 1.9K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
this.data = data.clone(); this.file = null; } /** * Constructs a ContentCache with the given file. * * @param file the file containing the content * @throws IllegalArgumentException if file is null */ public ContentCache(final File file) { if (file == null) { throw new IllegalArgumentException("file must not be null"); }
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 4.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
private void reportErrors(Map<File, List<Error>> errors, File reportFile) { try (PrintWriter fw = new PrintWriter(new FileWriter(reportFile))) { writeHeader(fw); if (errors.isEmpty()) { fw.println("All clear!"); return; } for (Map.Entry<File, List<Error>> e : errors.entrySet()) { File file = e.getKey();Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 23:22:57 GMT 2026 - 12.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
docs_src/request_files/tutorial001_03_an_py310.py
from fastapi import FastAPI, File, UploadFile app = FastAPI() @app.post("/files/") async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]): return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file( file: Annotated[UploadFile, File(description="A file read as UploadFile")], ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 421 bytes - Click Count (0)