- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for annotated (0.1 sec)
-
docs/en/docs/tutorial/security/oauth2-jwt.md
``` //// //// tab | Python 3.10+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. /// ```Python hl_lines="7 48 55-56 59-60 69-75" {!> ../../docs_src/security/tutorial004_py310.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip Prefer to use the `Annotated` version if possible. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:45:10 UTC 2024 - 12.8K bytes - Viewed (0) -
docs/fr/docs/tutorial/path-params-numeric-validations.md
Tout d'abord, importez `Path` de `fastapi`, et importez `Annotated` : {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[1,3] *} /// info FastAPI a ajouté le support pour `Annotated` (et a commencé à le recommander) dans la version 0.95.0. Si vous avez une version plus ancienne, vous obtiendrez des erreurs en essayant d'utiliser `Annotated`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:32:37 UTC 2024 - 6.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
``` //// //// tab | Python 3.10+ non-Annotated /// tip | Dica Prefira usar a versão `Annotated`, se possível. /// ```Python hl_lines="2 74" {!> ../../docs_src/security/tutorial003_py310.py!} ``` //// //// tab | Python 3.8+ non-Annotated /// tip | Dica Prefira usar a versão `Annotated`, se possível. /// ```Python hl_lines="4 76"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:17:45 UTC 2024 - 13.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
/// info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0. If you have an older version, you would get errors when trying to use `Annotated`. 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`. /// ### Import `Depends`
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:18:17 UTC 2024 - 9.2K bytes - Viewed (0) -
fastapi/dependencies/utils.py
use_annotation: Any = Any if annotation is not inspect.Signature.empty: use_annotation = annotation type_annotation = annotation # Extract Annotated info if get_origin(use_annotation) is Annotated: annotated_args = get_args(annotation) type_annotation = annotated_args[0] fastapi_annotations = [ arg for arg in annotated_args[1:]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 21:46:26 UTC 2024 - 34.7K bytes - Viewed (0) -
docs/en/docs/python-types.md
//// tab | Python 3.9+ In Python 3.9, `Annotated` is part of the standard library, so you can import it from `typing`. ```Python hl_lines="1 4" {!> ../../docs_src/python_types/tutorial013_py39.py!} ``` //// //// tab | Python 3.8+ In versions below Python 3.9, you import `Annotated` from `typing_extensions`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java
import java.lang.annotation.Target; import com.google.inject.ScopeAnnotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before mojo execution starts and discarded after mojo * execution completes. * * @since 3.1.2 */ @Target({TYPE}) @Retention(RUNTIME) @ScopeAnnotation
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/SessionScoped.java
import java.lang.annotation.Target; import com.google.inject.ScopeAnnotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before session execution starts * and discarded after session execution completes. * * @since 3.2.0 */ @Target({TYPE}) @Retention(RUNTIME) @ScopeAnnotation
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java
* calculate the execution plan, but custom lifecycles can use alternative mapping strategies. * <p> * Implementations of this interface must be annotated with either {@code @Named("lifecycle-id")} or equivalent plexus * {@code @Component} annotations. * * @since 3.2.0 * @see org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java
return exportedPackages; } /** * Note: overriding this method should be avoided. Preferred way to replace Maven components is the "normal" way * where the components are on index (are annotated with JSR330 annotations and Sisu index is created) and, they * have priorities set. */ protected Module getCustomModule(C context, CoreExports exports) { return new AbstractModule() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.6K bytes - Viewed (0)