- Sort Score
- Result 10 results
- Languages All
Results 4651 - 4660 of 8,412 for Class3 (0.03 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java
/** * The option of a command-line tool where to place the paths to some dependencies. * A {@code PathType} can identify the Java class-path, the Java module path, * or another kind of path for another programming language for example. * Path types are often exclusive. For example, a dependency should not be * both on the Java class path and on the Java module path. * * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths() *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jan 07 12:02:00 UTC 2025 - 5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
} } /** * Returns new builder from scratch. */ static Builder newBuilder() { return new Builder().withStartTime(MonotonicClock.now()); } class Builder { private Map<String, String> userProperties; private Map<String, String> systemProperties; private Instant startTime; private Path topDirectory; private Path rootDirectory;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 7.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
.build(); } @Nonnull static SettingsBuilderRequestBuilder builder() { return new SettingsBuilderRequestBuilder(); } @NotThreadSafe class SettingsBuilderRequestBuilder { ProtoSession session; RequestTrace trace; Source installationSettingsSource; Source projectSettingsSource; Source userSettingsSource;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit tests for the Features class. */ class FeaturesTest { @Test void testDeployBuildPomDefaultValue() { // Test that deployBuildPom returns true by default (when property is not set) Map<String, Object> emptyProperties = Map.of();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 7.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
import java.time.Duration; import java.time.Instant; import java.time.ZoneId; import java.time.ZoneOffset; /** * A Clock implementation that combines monotonic timing with wall-clock time. * <p> * This class provides precise time measurements using {@link System#nanoTime()} * while maintaining wall-clock time information in UTC. The wall-clock time * is computed from the monotonic duration since system start to ensure consistencyRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.6K bytes - Viewed (0) -
docs_src/separate_openapi_schemas/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None app = FastAPI(separate_input_output_schemas=False) @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 486 bytes - Viewed (0) -
docs_src/authentication_error_status_code/tutorial001_an_py39.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer app = FastAPI() class HTTPBearer403(HTTPBearer): def make_not_authenticated_error(self) -> HTTPException: return HTTPException( status_code=status.HTTP_403_FORBIDDEN, detail="Not authenticated" )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 618 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial005_an_py39.py
from typing import Annotated, Union from fastapi import Body, FastAPI 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, item: Annotated[Item, Body(embed=True)]): results = {"item_id": item_id, "item": item}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 428 bytes - Viewed (0) -
docs/zh/docs/advanced/testing-websockets.md
为此,要在 `with` 语句中使用 `TestClient` 连接 WebSocket。 {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *} /// note | 笔记 更多细节详见 <a href="https://www.starlette.dev/testclient/#testing-websocket-sessions" class="external-link" target="_blank">Starlette 官档 - 测试 WebSockets</a>。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 398 bytes - Viewed (0) -
docs_src/header_param_models/tutorial003_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items( headers: Annotated[CommonHeaders, Header(convert_underscores=False)], ):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Mar 23 20:48:54 UTC 2025 - 443 bytes - Viewed (0)