- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 797 for optionale (0.06 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverResult.java
* * @return An Optional containing the lowest matching version, or empty Optional if no versions * matched the requested range */ @Nonnull default Optional<Version> getLowestVersion() { return getVersions().isEmpty() ? Optional.empty() : Optional.of(getVersions().get(0)); } /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 29 08:17:07 UTC 2025 - 3.4K bytes - Viewed (0) -
fastapi/params.py
gt: Optional[float] = None, ge: Optional[float] = None, lt: Optional[float] = None, le: Optional[float] = None, min_length: Optional[int] = None, max_length: Optional[int] = None, pattern: Optional[str] = None, regex: Annotated[ Optional[str], deprecated( "Deprecated in FastAPI 0.100.0 and Pydantic v2, use `pattern` instead."Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 26.3K bytes - Viewed (0) -
tests/test_request_params/test_file/test_optional.py
return {"file_size": len(p) if p else None} @app.post("/optional-uploadfile", operation_id="optional_uploadfile") async def read_optional_uploadfile(p: Annotated[Optional[UploadFile], File()] = None): return {"file_size": p.size if p else None} @pytest.mark.parametrize( "path", [ "/optional-bytes", "/optional-uploadfile", ], ) def test_optional_schema(path: str): openapi = app.openapi()Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 9.7K bytes - Viewed (0) -
tests/test_request_params/test_form/test_optional_str.py
return {"p": p} class FormModelOptionalStr(BaseModel): p: Optional[str] = None @app.post("/model-optional-str", operation_id="model_optional_str") async def read_model_optional_str(p: Annotated[FormModelOptionalStr, Form()]): return {"p": p.p} @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], ) def test_optional_str_schema(path: str): openapi = app.openapi()Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.9K bytes - Viewed (0) -
tests/test_request_params/test_query/test_optional_list.py
class QueryModelOptionalListStr(BaseModel): p: Optional[list[str]] = None @app.get("/model-optional-list-str") async def read_model_optional_list_str( p: Annotated[QueryModelOptionalListStr, Query()], ): return {"p": p.p} @pytest.mark.parametrize( "path", ["/optional-list-str", "/model-optional-list-str"], ) def test_optional_list_str_schema(path: str):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
public void testEmptiesFirst() { Optional<String> empty = Optional.empty(); Optional<String> abc = Optional.of("abc"); Optional<String> z = Optional.of("z"); Comparator<Optional<String>> comparator = emptiesFirst(comparing(String::length)); testComparator(comparator, empty, z, abc); // Just demonstrate that no explicit type parameter is required Comparator<Optional<String>> unused = emptiesFirst(naturalOrder());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 6.4K bytes - Viewed (0) -
docs/fr/docs/python-types.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 10K bytes - Viewed (0) -
fastapi/security/http.py
""" ), ] class HTTPBase(SecurityBase): def __init__( self, *, scheme: str, scheme_name: Optional[str] = None, description: Optional[str] = None, auto_error: bool = True, ): self.model: HTTPBaseModel = HTTPBaseModel( scheme=scheme, description=description )Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 13.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
@Nonnull @Override public Optional<Source> getInstallationSettingsSource() { return Optional.ofNullable(installationSettingsSource); } @Nonnull @Override public Optional<Source> getProjectSettingsSource() { return Optional.ofNullable(projectSettingsSource); } @NonnullRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java
this.scope = scope; return this; } public DependencyCoordinatesFactoryRequestBuilder optional(boolean optional) { this.optional = optional; return this; } public DependencyCoordinatesFactoryRequestBuilder exclusions(Collection<Exclusion> exclusions) { if (exclusions != null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.1K bytes - Viewed (0)