- Sort Score
- Result 10 results
- Languages All
Results 1241 - 1250 of 6,186 for classe (0.04 sec)
-
tests/preload_test.go
CheckUser(t, user, user) var user2 User DB.Preload(clause.Associations).Find(&user2, "id = ?", user.ID) CheckUser(t, user2, user) user3 := *GetUser("preload_with_associations_new", Config{ Account: true, Pets: 2, Toys: 3, Company: true, Manager: true, Team: 4, Languages: 3, Friends: 1, }) DB.Preload(clause.Associations).Find(&user3, "id = ?", user.ID)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial003_an_py39.py
from typing import Annotated, Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 575 bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.List; import java.util.Map.Entry; import org.checkerframework.checker.nullness.qual.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @ElementTypesAreNonnullByDefault public class SampleElements<E extends @Nullable Object> implements Iterable<E> { // TODO: rename e3, e4 => missing1, missing2 private final E e0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
import junit.framework.TestCase; /** Unit test for {@link com.google.common.base.Verify}. */ @GwtCompatible(emulated = true) public class VerifyTest extends TestCase { public void testVerify_simple_success() { verify(true); } public void testVerify_simple_failure() { assertThrows(VerifyException.class, () -> verify(false)); } public void testVerify_simpleMessage_success() { verify(true, "message"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
} @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters()); testers.add(SetMultimapAsMapTester.class); testers.add(SetMultimapEqualsTester.class); testers.add(SetMultimapPutTester.class); testers.add(SetMultimapPutAllTester.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
protected <T> T convertObj(final Object value, final Class<T> clazz) { if (clazz.isAssignableFrom(String.class)) { return (T) value.toString(); } if (clazz.isAssignableFrom(Long.class)) { if (!(value instanceof Long)) { return (T) Long.valueOf(value.toString()); } } else if (clazz.isAssignableFrom(Integer.class)) { if (!(value instanceof Integer)) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* accepts a cause: Users of this class typically expect for instances to have a non-null * cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicit * {@code null} cause. Note, however, that passing an explicit {@code null} cause prevents * anyone from calling {@link #initCause} later, so it is not quite equivalent to using a * constructor that omits the cause. */ @Deprecated
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/tr/docs/history-design-future.md
# Geçmişi, Tasarımı ve Geleceği Bir süre önce, <a href="https://github.com/fastapi/fastapi/issues/3#issuecomment-454956920" class="external-link" target="_blank">bir **FastAPI** kullanıcısı sordu</a>: > Bu projenin geçmişi nedir? Birkaç hafta içinde hiçbir yerden harika bir şeye dönüşmüş gibi görünüyor [...] İşte o geçmişin bir kısmı. ## Alternatifler
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 4.7K bytes - Viewed (0) -
tests/test_default_response_class_router.py
from fastapi.testclient import TestClient class OverrideResponse(JSONResponse): media_type = "application/x-override" app = FastAPI() router_a = APIRouter() router_a_a = APIRouter() router_a_b_override = APIRouter() # Overrides default class router_b_override = APIRouter() # Overrides default class router_b_a = APIRouter() router_b_a_c_override = APIRouter() # Overrides default class again @app.get("/") def get_root():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Mar 01 20:49:20 UTC 2020 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
@GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public class SimpleAbstractMultisetTest extends TestCase { @J2ktIncompatible @GwtIncompatible // suite public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(SimpleAbstractMultisetTest.class); suite.addTest( MultisetTestSuiteBuilder.using( new TestStringMultisetGenerator() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.6K bytes - Viewed (0)