- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 996 for optional (0.06 sec)
-
tests/test_security_oauth2_password_bearer_optional_description.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security import OAuth2PasswordBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2PasswordBearer( tokenUrl="/token", description="OAuth2PasswordBearer security scheme", auto_error=False, ) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): if token is None:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.2K 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 Nov 03 03:35:11 UTC 2024 - 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 622 bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-c-1.0.pom
<dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t05-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) -
compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-c-1.0.pom
<dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t08-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) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/forked/ForkedMavenInvokerRequest.java
* These arguments allow for customization of the JVM environment in which Maven will run. * * @return an Optional containing the list of extra JVM arguments, or empty if not specified */ @Nonnull Optional<List<String>> jvmArguments();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 03 16:03:55 UTC 2024 - 1.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.2K bytes - Viewed (0) -
docs/bn/docs/python-types.md
```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ``` `Optional[str]` ব্যবহার করা মানে হল শুধু `str` নয়, এটি হতে পারে `None`-ও, যা আপনার এডিটরকে সেই ত্রুটিগুলি শনাক্ত করতে সাহায্য করবে যেখানে আপনি ধরে নিচ্ছেন যে একটি মান সবসময় `str` হবে, অথচ এটি `None`-ও হতে পারেও।
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 35.8K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
} @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
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 04 12:23:10 UTC 2024 - 13.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ExtensibleEnumRegistry.java
* under the License. */ package org.apache.maven.api.services; import java.util.Optional; import org.apache.maven.api.ExtensibleEnum; import org.apache.maven.api.Service; import org.apache.maven.api.annotations.Nonnull; public interface ExtensibleEnumRegistry<T extends ExtensibleEnum> extends Service { @Nonnull Optional<T> lookup(@Nonnull String id); @Nonnull default T require(@Nonnull String id) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.3K bytes - Viewed (0)