- Sort Score
- Result 10 results
- Languages All
Results 1631 - 1640 of 7,384 for _class (0.11 sec)
-
docs_src/security/tutorial002_an.py
from fastapi.security import OAuth2PasswordBearer from pydantic import BaseModel from typing_extensions import Annotated app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") class User(BaseModel): username: str email: Union[str, None] = None full_name: Union[str, None] = None disabled: Union[bool, None] = None def fake_decode_token(token): return User(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 815 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetAddTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddUnsupported() { assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0())); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddMeansAddOne() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
Class<? super @NonNull E> type, E... contents) { return new MinimalCollection<>(type, true, contents); } private final E[] contents; private final Class<? super @NonNull E> type; private final boolean allowNulls; // Package-private so that it can be extended. MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
.build(); private final Moshi moshi = new Moshi.Builder().build(); private final JsonAdapter<Map<String, String>> mapJsonAdapter = moshi.adapter( Types.newParameterizedType(Map.class, String.class, String.class)); public void run() throws Exception { Map<String, String> requestBody = new LinkedHashMap<>(); requestBody.put("longUrl", "https://publicobject.com/2014/12/04/html-formatting-javadocs/");
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat May 25 18:02:55 UTC 2019 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
TestHasher hasher = new TestHasher(); assertThrows(IndexOutOfBoundsException.class, () -> hasher.putBytes(new byte[8], -1, 4)); assertThrows(IndexOutOfBoundsException.class, () -> hasher.putBytes(new byte[8], 0, 16)); assertThrows(IndexOutOfBoundsException.class, () -> hasher.putBytes(new byte[8], 0, -1)); } private class TestHasher extends AbstractByteHasher {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 3.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
/** * An enhanced {@link ObjectWithFieldsConverter} leveraging the {@link TypeAwareExpressionEvaluator} * interface. */ class EnhancedConfigurationConverter extends ObjectWithFieldsConverter { protected Object fromExpression( final PlexusConfiguration configuration, final ExpressionEvaluator evaluator, final Class<?> type) throws ComponentConfigurationException { String value = configuration.getValue(); try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0) -
common-protos/k8s.io/api/scheduling/v1beta1/generated.proto
// value represents the integer value of this priority class. This is the actual priority that pods // receive when they have the name of this class in their pod spec. optional int32 value = 2; // globalDefault specifies whether this PriorityClass should be considered as // the default priority for pods that do not have any priority class. // Only one PriorityClass can be marked as `globalDefault`. However, if more than
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
import jakarta.annotation.Resource; /** * @author shinsuke * @author Keiichi Watanabe */ public class AdminGroupAction extends FessAdminAction { public static final String ROLE = "admin-group"; private static final Logger logger = LogManager.getLogger(AdminGroupAction.class); // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
} } inline fun <reified T : CallEvent> removeUpToEvent(): T = removeUpToEvent(T::class.java) /** * Remove and return the next event from the recorded sequence. * * @param eventClass a class to assert that the returned event is an instance of, or null to * take any event class. * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9K bytes - Viewed (0) -
docs/pt/docs/tutorial/testing.md
Graças ao <a href="https://www.starlette.io/testclient/" class="external-link" target="_blank">Starlette</a>, testar aplicativos **FastAPI** é fácil e agradável. Ele é baseado no <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, que por sua vez é projetado com base em Requests, por isso é muito familiar e intuitivo.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.9K bytes - Viewed (0)