- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 349 for Nath (0.13 sec)
-
docs/zh/docs/advanced/behind-a-proxy.md
```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### 在 FastAPI 应用里设置 `root_path` 还有一种方案,如果不能提供 `--root-path` 或等效的命令行选项,则在创建 FastAPI 应用时要设置 `root_path` 参数。 ```Python hl_lines="3" {!../../../docs_src/behind_a_proxy/tutorial002.py!} ``` 传递 `root_path` 给 `FastAPI` 与传递 `--root-path` 命令行选项给 Uvicorn 或 Hypercorn 一样。 ### 关于 `root_path` 注意,服务器(Uvicorn)只是把 `root_path` 传递给应用。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.4K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadata.java
LocalSnapshotMetadata(Artifact artifact, Date timestamp) { super(createMetadata(artifact), (Path) null, timestamp); } LocalSnapshotMetadata(Metadata metadata, Path path, Date timestamp) { super(metadata, path, timestamp); } private static Metadata createMetadata(Artifact artifact) { Snapshot snapshot = Snapshot.newBuilder().localCopy(true).build();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 10:10:21 GMT 2024 - 4.8K bytes - Viewed (0) -
docs/em/docs/advanced/behind-a-proxy.md
```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` ### ⚒ `root_path` FastAPI 📱 👐, 🚥 👆 🚫 ✔️ 🌌 🚚 📋 ⏸ 🎛 💖 `--root-path` ⚖️ 🌓, 👆 💪 ⚒ `root_path` 🔢 🕐❔ 🏗 👆 FastAPI 📱: ```Python hl_lines="3" {!../../../docs_src/behind_a_proxy/tutorial002.py!} ``` 🚶♀️ `root_path` `FastAPI` 🔜 🌓 🚶♀️ `--root-path` 📋 ⏸ 🎛 Uvicorn ⚖️ Hypercorn. ### 🔃 `root_path`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.1K bytes - Viewed (0) -
cmd/storage-interface.go
Delete(ctx context.Context, volume string, path string, opts DeleteOptions) (err error) VerifyFile(ctx context.Context, volume, path string, fi FileInfo) error StatInfoFile(ctx context.Context, volume, path string, glob bool) (stat []StatInfo, err error) ReadMultiple(ctx context.Context, req ReadMultipleReq, resp chan<- ReadMultipleResp) error CleanAbandonedData(ctx context.Context, volume string, path string) error
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 4.9K bytes - Viewed (0) -
analysis/analysis-api-fe10/tests/org/jetbrains/kotlin/analysis/api/fe10/test/configurator/AnalysisApiFe10TestConfigurator.kt
} override fun computeTestDataPath(path: Path): Path { val newPath = path.resolveSibling(path.nameWithoutExtension + "." + testPrefix + "." + path.extension) if (newPath.toFile().exists()) return newPath return path }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Apr 22 12:44:13 GMT 2024 - 4.5K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_an.py
path.write_bytes(b"x" * (default_pydantic_max_size + 1)) client = TestClient(app) 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": default_pydantic_max_size + 1} def test_post_upload_file(tmp_path): path = tmp_path / "test.txt"
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* * @param artifact the artifact for which to associate a path * @param path path to associate to the given artifact * * @see org.apache.maven.api.services.ArtifactManager#setPath(Artifact, Path) */ void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path); /** * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K bytes - Viewed (0) -
.github/workflows/test.yml
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 4.4K bytes - Viewed (2) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java
Artifact artifact = session.getArtifact(aetherArtifact); Path path = artifactManager.getPath(artifact).orElse(null); if (path != null) { paths.put(artifact, path); } else { requests.add(new ArtifactRequest(aetherArtifact, repositories, null)); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 3.6K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py
path = tmp_path / "test.txt" path.write_bytes(b"x" * (default_pydantic_max_size + 1)) 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": default_pydantic_max_size + 1} @needs_py39 def test_post_upload_file(tmp_path, client: TestClient): path = tmp_path / "test.txt"
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 7.7K bytes - Viewed (0)