- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 3,772 for file6 (0.04 sec)
-
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py
path.write_bytes(b"<file content>") with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} @needs_py310 def test_post_upload_file(tmp_path: Path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.5K bytes - Viewed (0) -
docs/uk/docs/index.md
**Spoiler alert**: туторіал - посібник користувача містить: * Оголошення **параметрів** з інших місць як: **headers**, **cookies**, **form fields** та **files**. * Як встановити **перевірку обмежень** як `maximum_length` або `regex`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 24.2K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
## 上下文管理器 ### 什么是"上下文管理器" "上下文管理器"是你可以在 `with` 语句中使用的任何Python对象。 例如,<a href="https://docs.python.org/zh-cn/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">你可以使用`with`读取文件</a>: ```Python with open("./somefile.txt") as f: contents = f.read() print(contents) ``` 在底层,`open("./somefile.txt")`创建了一个被称为"上下文管理器"的对象。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.3K bytes - Viewed (0) -
CONTRIBUTING.md
This includes adding the description of the changes to the `accepted-public-api-changes.json` file, and providing a reason for each change. You can add the changes to any place in the file, e.g. at the top. 3. Make sure the file with accepted changes is sorted.\ Use the `./gradlew :architecture-test:sortAcceptedApiChanges` task to sort the file. 4. Validate your changes before committing.\
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Nov 05 15:15:33 UTC 2024 - 15.6K bytes - Viewed (0) -
licenses/github.com/hashicorp/errwrap/LICENSE
terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Oct 26 02:47:39 UTC 2019 - 15.6K bytes - Viewed (0) -
docs/config/README.md
Following is a sample directory structure for MinIO server with TLS certificates. ```sh $ mc tree --files ~/.minio /home/user1/.minio └─ certs ├─ CAs ├─ private.key └─ public.crt ``` You can provide a custom certs directory using `--certs-dir` command line option. #### Credentials
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 17.9K bytes - Viewed (1) -
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py
path.write_bytes(b"<file content>") with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} @needs_py39 def test_post_upload_file(tmp_path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 6.2K bytes - Viewed (0) -
helm-releases/minio-3.6.4.tgz
server, a Kubernetes secret can be created from the certificate files using `kubectl`: ``` kubectl -n minio create secret generic minio-trusted-certs --from-file=public.crt --from-file=keycloak.crt ``` If TLS is not enabled, you would need only the third party CA: ``` kubectl -n minio create secret generic minio-trusted-certs --from-file=keycloak.crt ``` The name of the generated secret can then be passed to Helm using a values file or the `--set` parameter: ``` trustedCertsSecret: "minio-trusted-certs"...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Apr 12 01:30:28 UTC 2022 - 17.9K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
By default, those files are served from a <abbr title="Content Delivery Network: A service, normally composed of several servers, that provides static files, like JavaScript and CSS. It's commonly used to serve those files from the server closer to the client, improving performance.">CDN</abbr>. But it's possible to customize it, you can set a specific CDN, or serve the files yourself.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:42:34 UTC 2024 - 7.3K bytes - Viewed (0) -
.github/labeler.yml
docs: - all: - changed-files: - any-glob-to-any-file: - docs/en/docs/** - docs_src/** - all-globs-to-all-files: - '!fastapi/**' - '!pyproject.toml' - '!docs/en/data/sponsors.yml' - '!docs/en/overrides/main.html' lang-all: - all: - changed-files: - any-glob-to-any-file: - docs/*/docs/** - all-globs-to-all-files: - '!docs/en/docs/**'
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 31 10:18:37 UTC 2024 - 892 bytes - Viewed (0)