- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 2,913 for annotation (0.27 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/stream_json_lines/tutorial001_py310.py
@app.get("/items/stream-no-async") def stream_items_no_async() -> Iterable[Item]: for item in items: yield item @app.get("/items/stream-no-annotation") async def stream_items_no_annotation(): for item in items: yield item @app.get("/items/stream-no-async-no-annotation") def stream_items_no_async_no_annotation(): for item in items:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 936 bytes - Click Count (0) -
fastapi/utils.py
_invalid_args_message = ( "Invalid args for response field! Hint: " "check that {type_} is a valid Pydantic field type. " "If you are using a return type annotation that is not a valid Pydantic " "field (e.g. Union[Response, dict, None]) you can disable generating the " "response model from the type annotation with the path operation decorator " "parameter response_model=None. Read more: " "https://fastapi.tiangolo.com/tutorial/response-model/" )Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
static boolean isNullable(Parameter param) { return NULLNESS_ANNOTATION_READER.isNullable(param); } private static boolean containsNullable(Annotation[] annotations) { for (Annotation annotation : annotations) { if (NULLABLE_ANNOTATION_SIMPLE_NAMES.contains(annotation.annotationType().getSimpleName())) { return true; } } return false; } private boolean isIgnored(Member member) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct. ### Annotate a Response Subclass { #annotate-a-response-subclass } You can also use a subclass of `Response` in the type annotation:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt
* * In Java JUnit 4 tests (ie. tests annotated `@org.junit.Test`), use this by defining a field with * the `@Rule` annotation: * * ```java * @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); * ``` * * For Kotlin the `@JvmField` annotation is also necessary: * * ```kotlin * @JvmField @Rule val serverRule = MockWebServerRule() * ``` */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jun 16 22:36:18 GMT 2025 - 1.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IgnoreJRERequirement.java
*/ package com.google.common.collect.testing; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; import org.jspecify.annotations.NullMarked; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 02 18:21:28 GMT 2025 - 1.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
import static junit.framework.Assert.assertTrue; import static junit.framework.Assert.fail; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Ordering; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.Comparator; import java.util.LinkedHashSet;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.5K bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Generated.java
* under the License. */ package org.apache.maven.api.annotations; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * This annotation indicates that a type is automatically generated. * * @since 4.0.0 */ @Experimental
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/IgnoreJRERequirement.java
* the License. */ package com.google.common.collect; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; /** * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 02 18:21:28 GMT 2025 - 1.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/IgnoreJRERequirement.java
* the License. */ package com.google.common.io; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import java.lang.annotation.Target; /** * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 02 18:21:28 GMT 2025 - 1.1K bytes - Click Count (0)