- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 660 for optionally (0.09 sec)
-
docs/en/docs/python-types.md
``` //// #### Using `Union` or `Optional` { #using-union-or-optional } If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view: * 🚨 Avoid using `Optional[SomeType]` * Instead ✨ **use `Union[SomeType, None]`** ✨.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java
public <T> T lookup(Class<T> type, String name) { return null; } @Override public <T> Optional<T> lookupOptional(Class<T> type) { return Optional.empty(); } @Override public <T> Optional<T> lookupOptional(Class<T> type, String name) { return Optional.empty(); } @Override public <T> List<T> lookupList(Class<T> type) { return List.of(); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params.md
* `skip=20`: because you set it in the URL * `limit=10`: because that was the default value ## Optional parameters { #optional-parameters } The same way, you can declare optional query parameters, by setting their default to `None`: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} In this case, the function parameter `q` will be optional, and will be `None` by default. /// check
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 4.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Event.java
* * @return the current project or {@code empty()} if not applicable */ @Nonnull Optional<Project> getProject(); /** * Gets the current mojo execution (if any). * * @return the current mojo execution or {@code empty()} if not applicable */ @Nonnull Optional<MojoExecution> getMojoExecution(); /** * Gets the exception that caused the event (if any). *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
import java.util.Arrays; import java.util.Optional; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Tests for {@link DosError}. Since {@link DosError} only contains * constants, the tests exercise the data and small helper logic in this * test class. */ public class DosErrorTest { private static Optional<Integer> findNtStatus(int dosErrorCode) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/build.gradle.kts
"com.oracle.svm.core.annotate;resolution:=optional," + "com.oracle.svm.core.configure;resolution:=optional," + "dalvik.system;resolution:=optional," + "org.conscrypt;resolution:=optional," + "org.bouncycastle.*;resolution:=optional," + "org.openjsse.*;resolution:=optional," + "org.graalvm.nativeimage;resolution:=optional," + "org.graalvm.nativeimage.hosted;resolution:=optional," +
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 03:59:03 UTC 2025 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
} @Nonnull @Override public Optional<Path> getPath() { return Optional.ofNullable(path); } @Nonnull @Override public Optional<Source> getSource() { return Optional.ofNullable(source); } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertEquals( com.google.common.base.Optional.absent(), generator.generateFresh(new TypeToken<com.google.common.base.Optional<String>>() {})); assertEquals( com.google.common.base.Optional.of("2"), generator.generateFresh(new TypeToken<com.google.common.base.Optional<String>>() {})); // Test that the first generated instance for different cgcb.Optional<T> is always absent().
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/veeam-sos-api.go
// // An object storage system can implement one, multiple, or all functions. // // - Optional (mandatory if <IAMSTS> is true): Set Endpoints for IAM and STS processing. // // - Optional: Set server preferences for Backup & Replication parallel sessions, batch size of deletes, and block sizes (before // compression). This is an optional area; by default, there should be no <SystemRecommendations> section in the
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 15 00:34:56 UTC 2024 - 8.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
* The default value is empty. */ default Optional<String> module() { return Optional.empty(); } /** * {@return the version of the platform where the code will be executed}. * In a Java environment, this is the value of the {@code --release} compiler option. * The default value is empty. */ default Optional<Version> targetVersion() { return Optional.empty();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 6.5K bytes - Viewed (0)