- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 1,535 for Path (0.01 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/ProducedArtifact.java
* <li>{@linkplain org.apache.maven.api.services.ProjectManager#attachArtifact(Session, Project, Path) artifacts to be attached to a project}</li> * </ul> * * <p>For the main artifact and attached artifacts, the * {@link org.apache.maven.api.services.ArtifactManager ArtifactManager} service must be used * to point the artifact to a {@link Path} during the packaging phase.</p> * * @since 4.0.0 * @see Project#getMainArtifact()
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 1.9K bytes - Click Count (0) -
docs_src/body_multiple_params/tutorial001_py39.py
from typing import Union from fastapi import FastAPI, Path from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: Union[str, None] = None,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 596 bytes - Click Count (0) -
cmd/metrics-v3-types.go
"github.com/minio/minio/internal/logger" "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus" ) type collectorPath string // metricPrefix converts a collector path to a metric name prefix. The path is // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with // `minio_`. func (cp collectorPath) metricPrefix() string { s := strings.TrimPrefix(string(cp), SlashSeparator)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
docs/ko/docs/tutorial/dependencies/global-dependencies.md
몇몇 애플리케이션에서는 애플리케이션 전체에 의존성을 추가하고 싶을 수 있습니다. [*경로 작동 데코레이터*에 `dependencies` 추가하기](dependencies-in-path-operation-decorators.md){.internal-link target=_blank}와 유사한 방법으로 `FastAPI` 애플리케이션에 그것들을 추가할 수 있습니다. 그런 경우에, 애플리케이션의 모든 *경로 작동*에 적용될 것입니다: {* ../../docs_src/dependencies/tutorial012_an_py39.py hl[16] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 1.2K bytes - Click Count (0) -
tests/test_tutorial/test_handling_errors/test_tutorial006.py
response = client.get("/items/foo") assert response.status_code == 422, response.text assert response.json() == { "detail": [ { "type": "int_parsing", "loc": ["path", "item_id"], "msg": "Input should be a valid integer, unable to parse string as an integer", "input": "foo", } ] } def test_get_http_error():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.6K bytes - Click Count (0) -
cmd/iam-etcd-store_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" ) func TestExtractPrefixAndSuffix(t *testing.T) { specs := []struct { path, prefix, suffix string expected string }{ {"config/iam/groups/foo.json", "config/iam/groups/", ".json", "foo"}, {"config/iam/groups/./foo.json", "config/iam/groups/", ".json", "foo"},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.5K bytes - Click Count (0) -
tests/benchmarks/test_general_performance.py
def _bench_get(benchmark, client: TestClient, path: str) -> tuple[int, bytes]: warmup = client.get(path) assert warmup.status_code == 200 def do_request() -> tuple[int, bytes]: response = client.get(path) return response.status_code, response.content return benchmark(do_request) def _bench_post_json( benchmark, client: TestClient, path: str, json: dict[str, Any]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 20:40:26 GMT 2025 - 11.1K bytes - Click Count (0) -
tests/test_tutorial/test_request_files/test_tutorial003.py
client = TestClient(app) return client 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=(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.5K bytes - Click Count (0) -
cmd/utils_test.go
{ path: "/bucket/object///////", bucket: "bucket", object: "object///////", }, // Test case 7 object has preceding separators. { path: "/bucket////object////", bucket: "bucket", object: "///object////", }, // Test case 8 url path is empty. { path: "", bucket: "", object: "", }, } // Validate all test cases.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0) -
docs/ja/docs/tutorial/dependencies/index.md
しかし、この方法では **依存性注入** システムがどのように機能するかに焦点を当てることができます。 ### 依存関係の作成 まずは依存関係に注目してみましょう。 以下のように、*path operation関数*と同じパラメータを全て取ることができる関数にすぎません: {* ../../docs_src/dependencies/tutorial001.py hl[8,9] *} これだけです。 **2行**。 そして、それはすべての*path operation関数*が持っているのと同じ形と構造を持っています。 「デコレータ」を含まない(`@app.get("/some-path")`を含まない)*path operation関数*と考えることもできます。 そして何でも返すことができます。 この場合、この依存関係は以下を期待しています:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 9.6K bytes - Click Count (0)