- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 79 for annotaties (0.05 sec)
-
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:Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 16K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
If we had declared `-> HeroPublic`, your editor and linter would complain (rightfully so) that you are returning a `Hero` instead of a `HeroPublic`. By declaring it in `response_model` we are telling **FastAPI** to do its thing, without interfering with the type annotations and the help from your editor and other tools.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Method; import java.util.Arrays;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.2K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`. /// ## Use `Annotated` in the type for the `q` parameter { #use-annotated-in-the-type-for-the-q-parameter }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
But Python has a specific way to declare lists with internal types, or "type parameters": ### Import typing's `List` { #import-typings-list } In Python 3.9 and above you can use the standard `list` to declare these type annotations as we'll see below. 💡 But in Python versions before 3.9 (3.6 and above), you first need to import `List` from standard Python's `typing` module: {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
import static java.lang.annotation.ElementType.ANNOTATION_TYPE; 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.PARAMETER; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Annotation; import java.lang.annotation.Documented;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
## Type annotation vs `Depends` { #type-annotation-vs-depends } Notice how we write `CommonQueryParams` twice in the above code: //// tab | Python 3.8+ ```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)] ``` //// //// tab | Python 3.8+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. ///Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.7K bytes - Viewed (0) -
android/pom.xml
<annotation>com.google.common.hash.IgnoreJRERequirement</annotation> <annotation>com.google.common.io.IgnoreJRERequirement</annotation> <annotation>com.google.common.math.IgnoreJRERequirement</annotation> <annotation>com.google.common.primitives.IgnoreJRERequirement</annotation> <annotation>com.google.common.reflect.IgnoreJRERequirement</annotation>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 24.3K bytes - Viewed (0) -
pom.xml
<annotation>com.google.common.hash.IgnoreJRERequirement</annotation> <annotation>com.google.common.io.IgnoreJRERequirement</annotation> <annotation>com.google.common.math.IgnoreJRERequirement</annotation> <annotation>com.google.common.primitives.IgnoreJRERequirement</annotation> <annotation>com.google.common.reflect.IgnoreJRERequirement</annotation>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 23.9K bytes - Viewed (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.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0)