- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 967 for Optional (0.85 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
} @Nonnull @Override public Optional<Project> getProject() { return Optional.ofNullable(project); } @Nonnull @Override public Optional<Artifact> getRootArtifact() { return Optional.ofNullable(rootArtifact); } @Nonnull @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 10 07:30:49 UTC 2025 - 23K bytes - Viewed (0) -
pom.xml
<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>2.0.16</version> <optional>true</optional> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.3.5</version> <optional>true</optional> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId>
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Dec 20 04:15:34 UTC 2025 - 4.9K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/ClasspathManifest.kt
properties["runtime"] = runtime.get().joinToString(",") properties["projects"] = projects.get().joinToString(",") optionalProjects.get().takeIf { it.isNotEmpty() }?.let { optional -> properties["optional"] = optional.joinForProperties() } } private fun FileSystemLocation.toGradleModuleName(): String = asFile.name.run { substring(0, lastIndexOf('-')) } private
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Mar 28 20:26:58 UTC 2024 - 2.4K bytes - Viewed (0) -
tests/test_param_class.py
from typing import Optional from fastapi import FastAPI from fastapi.params import Param from fastapi.testclient import TestClient app = FastAPI() @app.get("/items/") def read_items(q: Optional[str] = Param(default=None)): # type: ignore return {"q": q} client = TestClient(app) def test_default_param_query_none(): response = client.get("/items/") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 636 bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
} def "method removal can be reported if current class is first public class"() { given: apiClass.oldClass >> Optional.of(classes['OldBase']) apiClass.newClass >> Optional.of(classes['NewBase']) when: Violation violation = rule.maybeViolation(apiClass) then: violation.humanExplanation.contains('SuperInternal.publicMethod()')Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 3.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
BeanConfigurationRequest setClassLoader(ClassLoader classLoader); /** * Gets the optional preprocessor for configuration values. * * @return The preprocessor for configuration values or {@code null} if none. */ BeanConfigurationValuePreprocessor getValuePreprocessor(); /** * Sets the optional preprocessor for configuration values. *
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
fastapi/datastructures.py
BinaryIO, Doc("The standard Python file object (non-async)."), ] filename: Annotated[Optional[str], Doc("The original file name.")] size: Annotated[Optional[int], Doc("The size of the file in bytes.")] headers: Annotated[Headers, Doc("The headers of the request.")] content_type: Annotated[ Optional[str], Doc("The content type of the request, from the headers.") ] async def write( self,Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 5.1K bytes - Viewed (0) -
fastapi/exceptions.py
*, body: Any = None, endpoint_ctx: Optional[EndpointContext] = None, ) -> None: super().__init__(errors, endpoint_ctx=endpoint_ctx) self.body = body class WebSocketRequestValidationError(ValidationException): def __init__( self, errors: Sequence[Any], *, endpoint_ctx: Optional[EndpointContext] = None, ) -> None:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 6.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactory.java
/** * Creates a default toolchain instance using system defaults. * * @return Optional containing the default toolchain if available * @throws ToolchainFactoryException if default toolchain creation fails */ @Nonnull Optional<Toolchain> createDefaultToolchain() throws ToolchainFactoryException;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 2.1K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-b-1.1.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t05-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 622 bytes - Viewed (0)