- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,110 for Annotations (0.17 seconds)
-
architecture/standards/0008-use-nullaway.md
Use `Objects.requireNonNull` statement or `Preconditions` rather than `assert` or `@SuppressWarning` annotation to suppress if possible. For gradual adoption, enable checks project-by-project. Do not rely on `@NullMarked` annotations. Only enable checks for a project if all its dependencies have checks enabled, in order to avoid back-and-forth when refining the annotations.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 4K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
### Invalid Return Type Annotations { #invalid-return-type-annotations } But when you return some other arbitrary object that is not a valid Pydantic type (e.g. a database object) and you annotate it like that in the function, FastAPI will try to create a Pydantic response model from that type annotation, and will fail.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) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/package-info.java
* under the License. */ /** * Provides annotations for Maven plugin development, including mojo configuration, * parameter definitions, and lifecycle bindings. These annotations are used to * generate plugin descriptors and configure plugin behavior. * * @since 4.0.0 */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Nov 16 22:51:39 GMT 2025 - 1.1K bytes - Click Count (0) -
tests/test_security_oauth2.py
} } ) class User(BaseModel): username: str # Here we use string annotations to test them def get_current_user(oauth_header: "str" = Security(reusable_oauth2)): user = User(username=oauth_header) return user @app.post("/login") # Here we use string annotations to test them def login(form_data: "OAuth2PasswordRequestFormStrict" = Depends()): return form_dataCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 9.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import com.google.errorprone.annotations.FormatMethod; import java.lang.annotation.Annotation; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Method; import java.util.Locale; import junit.framework.TestCase; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
docs/fr/llm-prompt.md
- the documentation: la documentation - Exclude from OpenAPI: Exclusion d'OpenAPI - framework: framework (do not translate to cadre) - performance: performance - type hints: annotations de type - type annotations: annotations de type - autocomplete: autocomplétion - autocompletion: autocomplétion - the request (what the client sends to the server): la requête
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 16 11:57:08 GMT 2026 - 3.6K bytes - Click Count (0) -
docs/en/docs/advanced/dataclasses.md
7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses. Again, you can combine `dataclasses` with standard type annotations. 8. Notice that this *path operation function* uses regular `def` instead of `async def`. As always, in FastAPI you can combine `def` and `async def` as needed.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import com.google.errorprone.annotations.FormatMethod; import java.lang.annotation.Annotation; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Method; import java.util.Locale; import junit.framework.TestCase; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
guava/pom.xml
<offlineLink> <url>https://javadoc.io/doc/com.google.j2objc/j2objc-annotations/latest/</url> <location>${project.basedir}/javadoc-link/j2objc-annotations</location> </offlineLink> <offlineLink> <url>https://errorprone.info/api/latest/</url>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 21:36:50 GMT 2025 - 9.6K bytes - Click Count (0) -
docs/en/docs/how-to/graphql.md
If you need or want to work with **GraphQL**, [**Strawberry**](https://strawberry.rocks/) is the **recommended** library as it has the design closest to **FastAPI's** design, it's all based on **type annotations**. Depending on your use case, you might prefer to use a different library, but if you asked me, I would probably suggest you try **Strawberry**. Here's a small preview of how you could integrate Strawberry with FastAPI:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.7K bytes - Click Count (0)