- Sort Score
- Num 10 results
- Language All
Results 721 - 730 of 1,467 for example2 (0.07 seconds)
-
docs/de/docs/tutorial/query-param-models.md
Wenn der Client beispielsweise versucht, einen `tool` Query-Parameter mit dem Wert `plumbus` zu senden, wie: ```http https://example.com/items/?limit=10&tool=plumbus ``` erhält er eine **Error-Response**, die ihm mitteilt, dass der Query-Parameter `tool` nicht erlaubt ist: ```json { "detail": [ {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 2.6K bytes - Click Count (0) -
tests/test_tutorial/test_generate_clients/test_tutorial002.py
assert response.json() == {"message": "Item received"} def test_post_users(): response = client.post( "/users/", json={"username": "Foo", "email": "foo@example.com"} ) assert response.status_code == 200, response.text assert response.json() == {"message": "User received"} def test_get_items(): response = client.get("/items/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 7.1K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt
/* the implementation class to collect information from task execution result */ klass: Class<T>, /* which tasks we need to monitor? For example, cache-miss-monitor monitors `AbstractCompile` tasks */ taskFilter: (Task) -> Boolean, /* pass the collected information in build-logic and main build to Build Scan */Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 10 05:45:46 GMT 2025 - 3.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
import okhttp3.RequestBody; import okhttp3.Response; public final class PostMultipart { /** * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running * these examples, please request your own client ID! https://api.imgur.com/oauth2 */ private static final String IMGUR_CLIENT_ID = "9199fdef135c122"; private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jun 24 12:59:42 GMT 2019 - 2.2K bytes - Click Count (0) -
fess-crawler-lasta/src/main/resources/crawler/extractor.xml
"application/edi-consent", "application/edi-x12", "application/edifact", "application/emma+xml", "application/epp+xml", "application/epub+zip", "application/eshop", "application/example", "application/fastinfoset", "application/fastsoap", "application/fits", "application/font-tdpfr", "application/h224", "application/http", "application/hyperstudio",
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 03:46:53 GMT 2025 - 50.1K bytes - Click Count (0) -
docs/ja/docs/tutorial/extra-models.md
`user_in`は`UserIn`クラスのPydanticモデルです。 Pydanticモデルには、モデルのデータを含む`dict`を返す`.dict()`メソッドがあります。 そこで、以下のようなPydanticオブジェクト`user_in`を作成すると: ```Python user_in = UserIn(username="john", password="secret", email="john.doe@example.com") ``` そして呼び出すと: ```Python user_dict = user_in.dict() ``` これで変数`user_dict`のデータを持つ`dict`ができました。(これはPydanticモデルのオブジェクトの代わりに`dict`です)。 そして呼び出すと: ```Python print(user_dict) ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.6K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
* (such as an XML document). Typically (but not always), the inverse process of "unescaping" the * text is performed automatically by the relevant parser. * * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code * "Foo<Bar>"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
when(transport.getDfsReferrals(any(), any(), any(), any(), anyInt())).thenReturn(referral); String name = "\\\\server\\\\share\\\\path"; // UNC-like DFS path String host = "server.example"; String domain = "EXAMPLE"; int rn = 0; jcifs.DfsReferralData result = transport.getDfsReferrals(ctx, name, host, domain, rn); assertSame(referral, result);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* <strong>Performance</strong>). * * <p><strong>Cycle Detection</strong> * * <p>Deadlocks can arise when locks are acquired in an order that forms a cycle. In a simple * example involving two locks and two threads, deadlock occurs when one thread acquires Lock A, and * then Lock B, while another thread acquires Lock B, and then Lock A: * * <pre> * Thread1: acquire(LockA) --X acquire(LockB)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 35.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java
import org.codelibs.core.exception.ClUnsupportedOperationException; /** * An {@link Iterator} that iterates through the hierarchy of class loaders towards their parent class loaders. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.lang.ClassLoaderIterator.*; * * ClassLoader classLoader = ...; * for (ClassLoader loader : iterable(classLoader)) { * ... * } * </pre>Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 2.5K bytes - Click Count (0)