- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 967 for Optional (0.04 sec)
-
tests/test_openapi_schema_type.py
from typing import Optional, Union import pytest from fastapi.openapi.models import Schema, SchemaType @pytest.mark.parametrize( "type_value", [ "array", ["string", "null"], None, ], ) def test_allowed_schema_type( type_value: Optional[Union[SchemaType, list[SchemaType]]], ) -> None: """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 730 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
* * @see Function * @see Optional * @see HashMap#computeIfAbsent(Object, Function) */ static UnaryOperator<String> memoize(UnaryOperator<String> callback) { Map<String, Optional<String>> cache = new HashMap<>(); return s -> cache.computeIfAbsent(s, v -> Optional.ofNullable(callback.apply(v))) .orElse(null); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Jan 13 16:14:35 UTC 2025 - 6.9K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 30 16:56:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java
*/ package org.codelibs.fess.mylasta.direction.sponsor; import java.util.Locale; import org.dbflute.jdbc.ClassificationMeta; import org.dbflute.optional.OptionalObject; import org.dbflute.optional.OptionalThing; import org.lastaflute.db.dbflute.classification.ListedClassificationProvider; import org.lastaflute.db.dbflute.exception.ProvidedClassificationNotFoundException; /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java
* implementations. */ SUPPORTS_SET; /** * A set containing none of the optional features of the {@link Iterator} or {@link ListIterator} * interfaces. */ public static final Set<IteratorFeature> UNMODIFIABLE = emptySet(); /** * A set containing all of the optional features of the {@link Iterator} and {@link ListIterator} * interfaces. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 03 18:22:43 UTC 2023 - 1.9K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t08/p0/pom.xml
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t08-d</artifactId> <version>1.2</version> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> </dependencyManagement>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 992 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenPropertiesLoader.java
} private static void trimValues(MavenProperties configProps) { configProps.replaceAll((k, v) -> v.trim()); } private static String nextLocation(StringTokenizer st) { boolean optional = false; String retVal = null; if (st.countTokens() > 0) { String tokenList = "?\","; StringBuilder tokBuf = new StringBuilder(10); String tok;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 6.4K bytes - Viewed (0) -
docs/uk/docs/python-types.md
#### Possibly `None` (Optional) Ви можете оголосити, що значення може мати тип, наприклад `str`, але також може бути `None`. У Python 3.6 і вище (включаючи Python 3.10) ви можете оголосити його, імпортувавши та використовуючи `Optional` з модуля `typing`. ```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProvider.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.mylasta.direction.sponsor; import java.util.TimeZone; import org.dbflute.optional.OptionalObject; import org.dbflute.optional.OptionalThing; import org.dbflute.util.DfTypeUtil; import org.lastaflute.web.ruts.process.ActionRuntime; import org.lastaflute.web.servlet.request.RequestManager;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0)