Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Temple (0.13 sec)

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

    !!! note
        If you are a Python expert, and you already know everything about type hints, skip to the next chapter.
    
    ## Motivation
    
    Let's start with a simple example:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Calling this program outputs:
    
    ```
    John Doe
    ```
    
    The function does the following:
    
    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/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)
  3. 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)
  4. docs/pt/docs/python-types.md

    ```Python hl_lines="1 4"
    {!../../../docs_src/python_types/tutorial009.py!}
    ```
    
    O uso de `Opcional [str]` em vez de apenas `str` permitirá que o editor o ajude a detectar erros, onde você pode estar assumindo que um valor é sempre um `str`, quando na verdade também pode ser `None`.
    
    #### Tipos genéricos
    
    Esses tipos que usam parâmetros de tipo entre colchetes, como:
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Opcional`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. 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)
Back to top