Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for comments (0.24 sec)

  1. docs/fr/docs/index.md

    ```
    
    ... de :
    
    ```Python
            ... "item_name": item.name ...
    ```
    
    ... vers :
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ... et voyez comment votre éditeur complétera automatiquement les attributs et connaîtra leurs types :
    
    ![compatibilité IDE](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/index.md

    В приведенном выше примере есть небольшое **повторение кода**.
    
    Когда вам нужно использовать `common_parameters()` зависимость, вы должны написать весь параметр с аннотацией типов и `Depends()`:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    Но потому что мы используем `Annotated`,  мы можем хранить `Annotated` значение в переменной и использовать его в нескольких местах:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/dependencies/index.md

    Wenn Sie die Abhängigkeit `common_parameters()` verwenden, müssen Sie den gesamten Parameter mit der Typannotation und `Depends()` schreiben:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    Da wir jedoch `Annotated` verwenden, können wir diesen `Annotated`-Wert in einer Variablen speichern und an mehreren Stellen verwenden:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:10 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/index.md

    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:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/dependencies/index.md

    ## `Annotated`인 의존성 공유하기
    
    위의 예제에서 몇몇 작은 **코드 중복**이 있다는 것을 보았을 겁니다.
    
    `common_parameters()`의존을 사용해야 한다면, 타입 명시와 `Depends()`와 함께 전체 매개변수를 적어야 합니다:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    하지만 `Annotated`를 사용하고 있기에, `Annotated` 값을 변수에 저장하고 여러 장소에서 사용할 수 있습니다:
    
    === "Python 3.10+"
    
        ```Python hl_lines="12  16  21"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/index.md

    # Tutoriel - Guide utilisateur - Introduction
    
    Ce tutoriel vous montre comment utiliser **FastAPI** avec la plupart de ses fonctionnalités, étape par étape.
    
    Chaque section s'appuie progressivement sur les précédentes, mais elle est structurée de manière à séparer les sujets, afin que vous puissiez aller directement à l'un d'entre eux pour résoudre vos besoins spécifiques en matière d'API.
    
    Il est également conçu pour fonctionner comme une référence future.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:51:55 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top