- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 817 for optionalen (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
import org.apache.maven.api.services.Request; import org.apache.maven.api.services.Result; /** * Interface for caching request results in Maven. This cache implementation provides * methods for executing and optionally caching both single requests and batches of requests. * <p> * The cache behavior is determined by the cache retention specified in the request's metadata.
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 3.5K bytes - Click Count (0) -
tests/main.py
return f"foo bar {query}" @app.get("/query/optional") def get_query_optional(query=None): if query is None: return "foo bar" return f"foo bar {query}" @app.get("/query/int") def get_query_type(query: int): return f"foo bar {query}" @app.get("/query/int/optional") def get_query_type_optional(query: Optional[int] = None): if query is None: return "foo bar"Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
public AbstractUpgradeGoal(StrategyOrchestrator orchestrator) { this.orchestrator = orchestrator; } /** * Executes the upgrade goal. * Template method that calls doUpgrade and optionally saves modifications. */ @Override public int execute(UpgradeContext context) throws Exception { UpgradeOptions options = context.options(); // Determine target model version
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactManager.java
*/ @Experimental public interface ArtifactManager extends Service { /** * Returns the path of the file previously associated to this artifact * or {@code Optional.empty()} if no path has been associated. */ @Nonnull Optional<Path> getPath(@Nonnull Artifact artifact); /** * Associates the given file path to the artifact. */ void setPath(@Nonnull ProducedArtifact artifact, Path path);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 1.5K bytes - Click Count (0) -
tests/test_validate_response_dataclass.py
from typing import Optional import pytest from fastapi import FastAPI from fastapi.exceptions import ResponseValidationError from fastapi.testclient import TestClient from pydantic.dataclasses import dataclass app = FastAPI() @dataclass class Item: name: str price: Optional[float] = None owner_ids: Optional[list[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.2K bytes - Click Count (0) -
fastapi/security/utils.py
from typing import Optional def get_authorization_scheme_param( authorization_header_value: Optional[str], ) -> tuple[str, str]: if not authorization_header_value: return "", "" scheme, _, param = authorization_header_value.partition(" ")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 286 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java
* * @return the optional POM file */ @Nonnull Optional<Path> getPomFile(); /** * Gets the project that was built. * * @return The project that was built or {@code null} if an error occurred and this result accompanies a * {@link ProjectBuilderException}. */ @Nonnull Optional<Project> getProject(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 2.6K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/mvnDebug
# Apache Maven Debug Script # # Environment Variable Prerequisites # # JAVA_HOME (Optional) Points to a Java installation. # MAVEN_OPTS (Optional) Java runtime options used when Maven is executed. # MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files. # MAVEN_DEBUG_ADDRESS (Optional) Set the debug address. Default value is localhost:8000
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 18 11:01:21 GMT 2024 - 1.4K bytes - Click Count (0) -
docs/pt/docs/python-types.md
```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009_py39.py!} ``` O uso de `Optional[str]` em vez de apenas `str` permitirá que o editor o ajude a detectar erros, onde você pode estar assumindo que um valor é sempre um `str`, quando na verdade também pode ser `None`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java
void shouldBeApplicableWhenModelOptionTrue() { UpgradeOptions options = mock(UpgradeOptions.class); when(options.model()).thenReturn(Optional.of(true)); when(options.all()).thenReturn(Optional.empty()); UpgradeContext context = createMockContext(options); assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --model is true");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.6K bytes - Click Count (0)