Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 536 for Annotation (0.08 seconds)

  1. 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)
  2. 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)
  3. docs/de/llm-prompt.md

    Example:
    
        Source (English):
    
            «««
            ## Type hints and annotations { #type-hints-and-annotations }
            »»»
    
        Translate with (German) – notice the hyphen:
    
            «««
            ## Typhinweise und -annotationen { #type-hints-and-annotations }
            »»»
    
        Do NOT translate with (German) – notice the dash:
    
            «««
    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)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * Sessions are thread-safe and can be obtained in session-scoped components using the
     * {@link org.apache.maven.api.di.SessionScoped} annotation.</p>
     *
     * <p>Key capabilities provided through the Session include:</p>
     * <ul>
     *   <li>Access to the current {@link org.apache.maven.api.Project}</li>
    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)
  5. 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)
  6. 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] *}
    
    ### Documentation
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 9.8K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top