Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for single (0.22 sec)

  1. docs/en/docs/python-types.md

    But, sadly, you get nothing useful:
    
    <img src="/img/python-types/image01.png">
    
    ### Add types
    
    Let's modify a single line from the previous version.
    
    We will change exactly this fragment, the parameters of the function, from:
    
    ```Python
        first_name, last_name
    ```
    
    to:
    
    ```Python
        first_name: str, last_name: str
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. docs/es/docs/python-types.md

    !!! note "Nota"
        Si eres un experto en Python y ya lo sabes todo sobre los type hints, salta al siguiente capítulo.
    
    ## Motivación
    
    Comencemos con un ejemplo simple:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Llamar este programa nos muestra el siguiente <abbr title="en español: salida">output</abbr>:
    
    ```
    John Doe
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs/fr/docs/python-types.md

    !!! note
        Si vous êtes un expert Python, et que vous savez déjà **tout** sur les annotations de type, passez au chapitre suivant.
    
    ## Motivations
    
    Prenons un exemple simple :
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Exécuter ce programe affiche :
    
    ```
    John Doe
    ```
    
    La fonction :
    
    * Prend un `first_name` et un `last_name`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/ko/docs/python-types.md

    ```Python hl_lines="2"
    {!../../../docs_src/python_types/tutorial004.py!}
    ```
    
    ## 타입 선언
    
    방금 함수의 매개변수로써 타입 힌트를 선언하는 주요 장소를 보았습니다.
    
    이 위치는 여러분이 **FastAPI**와 함께 이를 사용하는 주요 장소입니다.
    
    ### Simple 타입
    
    `str`뿐 아니라 모든 파이썬 표준 타입을 선언할 수 있습니다.
    
    예를 들면:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial005.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. docs/de/docs/python-types.md

        Und ebenfalls, dass Ihr Code sehr kompatibel mit vielen anderen Python-Tools und -Bibliotheken sein wird. 🚀
    
    ## Typhinweise in **FastAPI**
    
    **FastAPI** macht sich diese Typhinweise zunutze, um mehrere Dinge zu tun.
    
    Mit **FastAPI** deklarieren Sie Parameter mit Typhinweisen, und Sie erhalten:
    
    * **Editorunterstützung**.
    * **Typ-Prüfungen**.
    
    ... und **FastAPI** verwendet dieselben Deklarationen, um:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top