- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 667 for files (0.17 sec)
-
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 Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-forms-and-files.md
``` ## Defina parâmetros de `File` e `Form` Crie parâmetros de arquivo e formulário da mesma forma que você faria para `Body` ou `Query`: ```Python hl_lines="8" {!../../../docs_src/request_forms_and_files/tutorial001.py!} ``` Os arquivos e campos de formulário serão carregados como dados de formulário e você receberá os arquivos e campos de formulário.
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Mar 13 19:02:19 GMT 2024 - 1.4K bytes - Viewed (0) -
docs/em/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.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/request-forms-and-files.md
# リクエストフォームとファイル `File`と`Form`を同時に使うことでファイルとフォームフィールドを定義することができます。 !!! info "情報" アップロードされたファイルやフォームデータを受信するには、まず<a href="https://andrew-d.github.io/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: Tue Apr 02 04:31:22 GMT 2024 - 1.8K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 9.9K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 9.8K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial003_an.py
files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)), ), ) assert response.status_code == 200, response.text assert response.json() == {"file_sizes": [14, 15]} def test_post_upload_file(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 7.1K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial002_an.py
} ) def test_post_files(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=( ("files", ("test.txt", file)),
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 8.5K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py
@needs_py39 def test_post_files(tmp_path, app: FastAPI): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") path2 = tmp_path / "test2.txt" path2.write_bytes(b"<file content2>") client = TestClient(app) with path.open("rb") as file, path2.open("rb") as file2: response = client.post( "/files/", files=( ("files", ("test.txt", file)),
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 7.6K bytes - Viewed (0) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 9.8K bytes - Viewed (0)