- Sort Score
- Result 10 results
- Languages All
Results 1531 - 1540 of 6,364 for classId (0.09 sec)
-
docs/zh/docs/tutorial/testing.md
# 测试 感谢 <a href="https://www.starlette.io/testclient/" class="external-link" target="_blank">Starlette</a>,测试**FastAPI** 应用轻松又愉快。 它基于 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, 而HTTPX又是基于Requests设计的,所以很相似且易懂。 有了它,你可以直接与**FastAPI**一起使用 <a href="https://docs.pytest.org/" class="external-link" target="_blank">pytest</a>。 ## 使用 `TestClient` /// info | "信息"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
) } private inline fun <reified T : Any> CtClass.ctAnnotation(): Annotation? = getAnnotation(T::class.java) ?.takeIf { Proxy.isProxyClass(it::class.java) } ?.let { Proxy.getInvocationHandler(it) as? AnnotationImpl } ?.annotation private val CtMember.jvmSignature: String
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Aug 21 12:41:59 UTC 2024 - 4.8K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
) private val CRLF = "\r\n".encodeUtf8() @Throws(IOException::class) private fun BufferedSource.readData(data: Buffer) { data.writeByte('\n'.code) readFully(data, indexOfElement(CRLF)) select(options) // Skip the newline bytes. } @Throws(IOException::class) private fun BufferedSource.readRetryMs(): Long { val retryString = readUtf8LineStrict()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeVisitor.java
* ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds. * * <p>This class is not thread safe. * * @author Ben Yu */ @ElementTypesAreNonnullByDefault abstract class TypeVisitor { private final Set<Type> visited = Sets.newHashSet(); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 16 21:10:04 UTC 2021 - 3.7K bytes - Viewed (0) -
docs/ja/docs/index.md
<div class="termy"> ```console $ pip install fastapi ---> 100% ``` </div> 本番環境では、<a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> または、 <a href="https://github.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>のような、 ASGI サーバーが必要になります。 <div class="termy"> ```console $ pip install "uvicorn[standard]" ---> 100% ``` </div>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 21K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThrows(InvalidCacheLoadException.class, () -> cache.get(new Object())); stats = cache.stats(); assertEquals(1, stats.missCount()); assertEquals(0, stats.loadSuccessCount()); assertEquals(1, stats.loadExceptionCount()); assertEquals(0, stats.hitCount()); assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object())); stats = cache.stats();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 86.3K bytes - Viewed (0) -
docs/yo/docs/index.md
## Fifi sórí ẹrọ <div class="termy"> ```console $ pip install fastapi ---> 100% ``` </div> Iwọ yóò tún nílò olupin ASGI, fún iṣelọpọ bii <a href="https://www.uvicorn.org" class="external-link" target="_blank">Uvicorn</a> tabi <a href="https://github.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 24.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
assertEquals(20, multimap.expectedValuesPerKey); } public void testCreateFromIllegalSizes() { assertThrows(IllegalArgumentException.class, () -> ArrayListMultimap.create(15, -2)); assertThrows(IllegalArgumentException.class, () -> ArrayListMultimap.create(-15, 2)); } public void testCreateFromHashMultimap() { Multimap<String, Integer> original = HashMultimap.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java
* Object#hashCode} and {@link Object#toString}. For example: * * <pre> * class Unsupported extends AbstractInvocationHandler { * protected Object handleInvocation(Object proxy, Method method, Object[] args) { * throw new UnsupportedOperationException(); * } * } * * CharSequence unsupported = Reflection.newProxy(CharSequence.class, new Unsupported()); * </pre> * * @author Ben Yu * @since 12.0 */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0) -
docs_src/security/tutorial002.py
from fastapi import Depends, FastAPI from fastapi.security import OAuth2PasswordBearer from pydantic import BaseModel 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 May 14 11:59:59 UTC 2022 - 755 bytes - Viewed (0)