- Sort Score
- Result 10 results
- Languages All
Results 1621 - 1630 of 7,602 for _class (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java
ExecutionException expected = assertThrows(ExecutionException.class, () -> getDone(immediateFailedFuture(failureCause))); assertThat(expected).hasCauseThat().isEqualTo(failureCause); } public void testCancelled() throws ExecutionException { assertThrows(CancellationException.class, () -> getDone(immediateCancelledFuture())); } public void testPending() throws ExecutionException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 2.3K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial001_py310.py
from fastapi import FastAPI, Path from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int = Path(title="The ID of the item to get", ge=0, le=1000), q: str | None = None, item: Item | None = None, ):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 546 bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
import org.lastaflute.web.validation.LaValidatable; import org.lastaflute.web.validation.VaMessenger; import jakarta.annotation.Resource; /** * @author jflute */ public abstract class FessBaseAction extends TypicalAction // has several interfaces for direct use implements LaValidatable<FessMessages>, FessHtmlPath { // ===================================================================================
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
exception.expect(IORuntimeException.class); exception.expectMessage(is("[ECL0040]IOException occurred, because java.io.IOException: load")); final Properties properties = new IOExceptionOccurProperties(); PropertiesUtil.load(properties, url); } private static class IOExceptionOccurProperties extends Properties { /** *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java
Lists.<Object>newArrayList(FIRST, SECOND), recorder.eventsReceived); } public class EventProcessor { @Subscribe public void listenForStrings(String event) { bus.post(SECOND); } } public class EventRecorder { List<Object> eventsReceived = Lists.newArrayList(); @Subscribe public void listenForEverything(Object event) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.5K bytes - Viewed (0) -
tests/test_inherited_custom_class.py
assert type(asyncpg_uuid) is not uuid.UUID with pytest.raises(TypeError): vars(asyncpg_uuid) return {"fast_uuid": asyncpg_uuid} class SomeCustomClass(BaseModel): class Config: arbitrary_types_allowed = True json_encoders = {uuid.UUID: str} a_uuid: MyUuid @app.get("/get_custom_class") def return_some_user():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishRelease.kt
* limitations under the License. */ package promotion import common.VersionedSettingsBranch import jetbrains.buildServer.configs.kotlin.ParameterDisplay abstract class PublishRelease( prepTask: String, promoteTask: String, requiredConfirmationCode: String, promotedBranch: String, init: PublishRelease.() -> Unit = {} ) : PublishGradleDistributionFullBuild(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 05 00:08:14 UTC 2023 - 3.5K 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)