- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 8,006 for Class1 (0.03 sec)
-
fastapi/exceptions.py
WebSocketErrorModel: type[BaseModel] = create_model("WebSocket") class FastAPIError(RuntimeError): """ A generic, FastAPI-specific error. """ class DependencyScopeError(FastAPIError): """ A dependency declared that it depends on another dependency with an invalid (narrower) scope. """ class ValidationException(Exception): def __init__( self,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java
while (authElements.hasMoreElements()) { ASN1Sequence authElement = ASN1Util.as(ASN1Sequence.class, authElements); ASN1Integer authType = ASN1Util.as(ASN1Integer.class, ASN1Util.as(ASN1TaggedObject.class, authElement, 0)); DEROctetString authData = ASN1Util.as(DEROctetString.class, ASN1Util.as(ASN1TaggedObject.class, authElement, 1));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
contentLength = contentLength, isSocket = false, ) } @Throws(IOException::class) fun flushRequest() { try { codec.flushRequest() } catch (e: IOException) { call.eventListener.requestFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun finishRequest() { try { codec.finishRequest() } catch (e: IOException) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java
import org.junit.Test; /** * @author higa */ public class BeanDescFactoryTest { /** * @throws Exception */ @Test public void testGetBeanDesc() throws Exception { final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class); assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(sameInstance(beanDesc))); } /** * @throws Exception */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.3K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
} @Throws(IOException::class) @JvmOverloads fun start(port: Int = 0) { started = true delegate.start(port) } @Throws(IOException::class) fun start( inetAddress: InetAddress, port: Int, ) { started = true delegate.start(inetAddress, port) } @Synchronized @Throws(IOException::class) fun shutdown() { delegate.close()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 00:19:42 UTC 2025 - 4.6K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestImplementationTest.java
import static org.mockito.Mockito.mock; class RequestImplementationTest { @Test void testArtifactResolverRequestEquality() { Session session = mock(Session.class); ArtifactCoordinates coords1 = mock(ArtifactCoordinates.class); ArtifactCoordinates coords2 = mock(ArtifactCoordinates.class); RemoteRepository repo1 = mock(RemoteRepository.class);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FunnelsTest.java
import org.mockito.InOrder; /** * Tests for HashExtractors. * * @author Dimitris Andreou */ @NullUnmarked public class FunnelsTest extends TestCase { public void testForBytes() { PrimitiveSink primitiveSink = mock(PrimitiveSink.class); Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink); verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1}); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
for (Class<?> paramType : method.getParameterTypes()) { passedArgs.add(paramValues.generateFresh(paramType)); } return passedArgs.toArray(); } /** Tests a single interaction against a method. */ private static final class InteractionTester<T> extends AbstractInvocationHandler { private final Class<T> interfaceType; private final Method method;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
tests/test_response_model_data_filter.py
from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class UserBase(BaseModel): email: str class UserCreate(UserBase): password: str class UserDB(UserBase): hashed_password: str class PetDB(BaseModel): name: str owner: UserDB class PetOut(BaseModel): name: str owner: UserBase
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *} Dieser einfache Anwendungsfall wird automatisch von FastAPI gehandhabt, weil die Annotation des Rückgabetyps die Klasse (oder eine Unterklasse von) `Response` ist. Und Tools werden auch glücklich sein, weil sowohl `RedirectResponse` als auch `JSONResponse` Unterklassen von `Response` sind, die Typannotation ist daher korrekt.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 17.5K bytes - Viewed (0)