- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 922 for Optional (0.1 sec)
-
docs/em/docs/python-types.md
đ 3ī¸âŖ.6ī¸âŖ & đ (â đ 3ī¸âŖ.1ī¸âŖ0ī¸âŖ) đ đĒ đŖ âĢī¸ đ & âī¸ `Optional` âĒī¸âĄī¸ `typing` đš. ```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ``` âī¸ `Optional[str]` âŠī¸ `str` đ âĄī¸ đ¨âđ¨ âš đ đ â đâ đ đĒ đ¤ đ đ˛ đ§ `str`, đâ âĢī¸ đĒ đ¤ `None` đââī¸. `Optional[Something]` đ¤ ⨠`Union[Something, None]`, đĢ đ. đ â đ đ 3ī¸âŖ.1ī¸âŖ0ī¸âŖ, đ đĒ âī¸ `Something | None`:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.4K 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 622 bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 6.5K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/maven-test/poms/t06-c-1.0.pom
<dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t06-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>true</optional> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 432 bytes - Viewed (0) -
tests/test_custom_middleware_exception.py
from typing import Optional from fastapi import APIRouter, FastAPI, File, UploadFile from fastapi.exceptions import HTTPException from fastapi.testclient import TestClient app = FastAPI() router = APIRouter() class ContentSizeLimitMiddleware: """Content size limiting middleware for ASGI applications Args: app (ASGI application): ASGI application
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 25 21:44:40 UTC 2022 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
} @Override public Optional<Long> lengthIfKnown() { long result = 0L; for (CharSource source : sources) { Optional<Long> lengthIfKnown = source.lengthIfKnown(); if (!lengthIfKnown.isPresent()) { return Optional.absent(); } result += lengthIfKnown.get(); } return Optional.of(result); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params.md
http://127.0.0.1:8000/items/?skip=20 ``` The parameter values in your function will be: * `skip=20`: because you set it in the URL * `limit=10`: because that was the default value ## Optional parameters The same way, you can declare optional query parameters, by setting their default to `None`: //// tab | Python 3.10+ ```Python hl_lines="7" {!> ../../docs_src/query_params/tutorial002_py310.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact) */ @Nonnull default Optional<ProducedArtifact> getMainArtifact() { List<ProducedArtifact> artifacts = getArtifacts(); return artifacts.size() == 2 ? Optional.of(artifacts.get(1)) : Optional.empty(); } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 7.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
if (lifecycleMapping == null) { return Optional.empty(); } Type type = typeRegistry.lookup(id).orElse(null); if (type == null) { return Optional.empty(); } return Optional.of(new DefaultPackaging(id, type, getPlugins(lifecycleMapping))); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.8K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/maven-test/poms/t06-b-1.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 622 bytes - Viewed (0)