- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,051 for optional (0.04 sec)
-
tests/test_callable_endpoint.py
from functools import partial from typing import Optional from fastapi import FastAPI from fastapi.testclient import TestClient def main(some_arg, q: Optional[str] = None): return {"some_arg": some_arg, "q": q} endpoint = partial(main, "foo") app = FastAPI() app.get("/")(endpoint) client = TestClient(app) def test_partial(): response = client.get("/?q=bar") data = response.json()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Jun 28 18:13:30 UTC 2020 - 457 bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-b-2.0.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) -
compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-b-1.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t08-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) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
*/ @Nonnull DependencyScope getScope(); /** * Returns whether the dependency is optional, mandatory, or of unspecified obligation. * * @return {@code Boolean.TRUE} and {@code Boolean.FALSE} if optional, or {@code null} if unspecified */ @Nullable Boolean getOptional(); /** * {@return transitive dependencies to exclude} */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 2.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/30_contributor_regression.yml
id: build-scan-url attributes: label: Build scan URL (optional) description: | You can run your build command with `--scan` to publish a Build Scan to [scans.gradle.com](https://scans.gradle.com/). validations: required: false - type: textarea id: environment attributes: label: Your Environment (optional) description: |Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Sep 09 14:48:49 UTC 2024 - 2.7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
// Create context with --model-version=4.1.0 option to trigger namespace update UpgradeOptions options = mock(UpgradeOptions.class); when(options.modelVersion()).thenReturn(Optional.of("4.1.0")); when(options.all()).thenReturn(Optional.empty()); UpgradeContext context = createMockContext(options); UpgradeResult result = strategy.doApply(context, pomMap);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 38.8K bytes - Viewed (0) -
internal/config/callhome/help.go
Type: "on|off", Description: "set to enable callhome" + defaultHelpPostfix(Enable), Optional: true, }, config.HelpKV{ Key: Frequency, Type: "duration", Description: "time duration between callhome cycles e.g. 24h" + defaultHelpPostfix(Frequency), Optional: true, }, }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jun 06 23:14:52 UTC 2022 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RangeMap.java
/** Puts all the associations from {@code rangeMap} into this range map (optional operation). */ void putAll(RangeMap<K, ? extends V> rangeMap); /** Removes all associations from this range map (optional operation). */ void clear(); /** * Removes all associations from this range map in the specified range (optional operation). *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
} // Checks the expected result of shape inference for the given `op`. void CheckOutputShapes( TFE_Op* op, const std::vector<absl::optional<std::vector<int64_t>>>& input_shapes_vec, const std::vector<TF_Tensor*>& input_tensors, const absl::optional<std::vector<int64_t>>& expected_shape) { // Create input_shapes. TF_ShapeAndTypeList* input_shapes =
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* Returns the file paths of all dependencies and their assignments to different paths. * The {@link PathType} keys identify, for example, {@code --class-path} or {@code --module-path} options. * In the case of Java tools, the map may also contain {@code --patch-module} options, which are * {@linkplain org.apache.maven.api.JavaPathType#patchModule(String) handled in a special way}. * * <h4>Design note</h4>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 05 14:29:21 UTC 2025 - 6.3K bytes - Viewed (0)