- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 536 for Annotation (0.08 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
} for (MethodMetaData methodMetaData : declaredMethods) { methodMetaData.visitTypes(action); } } public static enum MetaType { CLASS, INTERFACE, ENUM, ANNOTATION }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 10.1K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/classes-as-dependencies.md
**FastAPI** llama a la clase `CommonQueryParams`. Esto crea una "instance" de esa clase y la instance será pasada como el parámetro `commons` a tu función. ## Anotación de tipos vs `Depends` { #type-annotation-vs-depends } Nota cómo escribimos `CommonQueryParams` dos veces en el código anterior: //// tab | Python 3.9+ ```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)] ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.1K bytes - Click Count (0) -
docs/de/llm-prompt.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 09:39:53 GMT 2025 - 11.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 7.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md
O **FastAPI** chama a classe `CommonQueryParams`. Isso cria uma "instância" dessa classe e é a instância que será passada para o parâmetro `commons` na sua função. ## Anotações de Tipo vs `Depends` { #type-annotation-vs-depends } Perceba como escrevemos `CommonQueryParams` duas vezes no código abaixo: //// tab | Python 3.9+ ```Python commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)] ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/path-params.md
/// ### Déclarer un paramètre de chemin Créez ensuite un *paramètre de chemin* avec une annotation de type désignant l'énumération créée précédemment (`ModelName`) : {* ../../docs_src/path_params/tutorial005.py hl[16] *} ### DocumentationCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 9.8K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/index.md
In the examples above, you see that there's a tiny bit of **code duplication**. When you need to use the `common_parameters()` dependency, you have to write the whole parameter with the type annotation and `Depends()`: ```Python commons: Annotated[dict, Depends(common_parameters)] ``` But because we are using `Annotated`, we can store that `Annotated` value in a variable and use it in multiple places:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 9.6K bytes - Click Count (0) -
docs/fr/docs/features.md
### Testé * 100% <abbr title="La quantité de code qui est testé automatiquement">de couverture de test</abbr>. * 100% <abbr title="Annotation de types Python, avec cela votre éditeur et autres outils externes peuvent vous fournir un meilleur support">d'annotations de type</abbr> dans le code. * Utilisé dans des applications mises en production.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 11.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/extra-models.md
{* ../../docs_src/extra_models/tutorial003_py310.py hl[1,14:15,18:20,33] *} ### Python 3.10에서 `Union` 위의 예제에서는 `response_model` 인자 값으로 `Union[PlaneItem, CarItem]`을 전달합니다. 이 경우, 이를 **타입 어노테이션(type annotation)** 이 아닌 **인자 값(argument value)** 으로 전달하고 있기 때문에 Python 3.10에서도 `Union`을 사용해야 합니다. 만약 타입 어노테이션에 사용한다면, 다음과 같이 수직 막대(|)를 사용할 수 있습니다: ```Python some_variable: PlaneItem | CarItem ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri May 30 13:38:33 GMT 2025 - 8.4K bytes - Click Count (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.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 02 05:06:56 GMT 2025 - 15.8K bytes - Click Count (0)