Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,547 for types (0.13 sec)

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

    现在假设我们又一次正在创建这个函数,这次添加了类型提示。
    
    在同样的地方,通过 `Ctrl+Space` 触发自动补全,你会发现:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image02.png">
    
    这样,你可以滚动查看选项,直到你找到看起来眼熟的那个:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image03.png">
    
    ## 更多动机
    
    下面是一个已经有类型提示的函数:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    因为编辑器已经知道了这些变量的类型,所以不仅能对代码进行补全,还能检查其中的错误:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. docs/em/docs/python-types.md

    <img src="/img/python-types/image02.png">
    
    ⏮️ 👈, 👆 💪 📜, 👀 🎛, ⏭ 👆 🔎 1️⃣ 👈 "💍 🔔":
    
    <img src="/img/python-types/image03.png">
    
    ## 🌅 🎯
    
    ✅ 👉 🔢, ⚫️ ⏪ ✔️ 🆎 🔑:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    ↩️ 👨‍🎨 💭 🆎 🔢, 👆 🚫 🕴 🤚 🛠️, 👆 🤚 ❌ ✅:
    
    <img src="/img/python-types/image04.png">
    
    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)
  3. cmd/testdata/config/invalid-types.yaml

    Anis Eleuch <******@****.***> 1701941636 -0800
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 836 bytes
    - Viewed (0)
  4. docs/fr/docs/python-types.md

    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial005.py!}
    ```
    
    ### Types génériques avec des paramètres de types
    
    Il existe certaines structures de données qui contiennent d'autres valeurs, comme `dict`, `list`, `set` et `tuple`. Et les valeurs internes peuvent elles aussi avoir leurs propres types.
    
    Pour déclarer ces types et les types internes, on utilise le module standard de Python `typing`.
    
    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)
  5. docs/de/docs/python-types.md

    Diese Typen mit inneren Typen werden „**generische**“ Typen genannt. Es ist möglich, sie mit ihren inneren Typen zu deklarieren.
    
    Um diese Typen und die inneren Typen zu deklarieren, können Sie Pythons Standardmodul `typing` verwenden. Es existiert speziell für die Unterstützung dieser Typhinweise.
    
    #### Neuere Python-Versionen
    
    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)
  6. docs/pt/docs/python-types.md

    <img src="/img/python-types/image02.png">
    
    Com isso, você pode rolar, vendo as opções, até encontrar o que "toca uma campainha":
    
    <img src="/img/python-types/image03.png">
    
    ## Mais motivação
    
    Marque esta função, ela já possui type hints:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    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)
  7. docs/es/docs/python-types.md

    <img src="https://fastapi.tiangolo.com/img/python-types/image02.png">
    
    Con esto puedes moverte hacia abajo viendo las opciones hasta que encuentras una que te suene:
    
    <img src="https://fastapi.tiangolo.com/img/python-types/image03.png">
    
    ## Más motivación
    
    Mira esta función que ya tiene type hints:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    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)
  8. docs/en/docs/tutorial/extra-data-types.md

    * You can check all the valid pydantic data types here: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic data types</a>.
    
    ## Example
    
    Here's an example *path operation* with parameters using some of the above types.
    
    === "Python 3.10+"
    
        ```Python hl_lines="1  3  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. docs/ko/docs/python-types.md

    같은 상황에서 `Ctrl+Space`로 자동완성을 작동시키면,
    
    <img src="/img/python-types/image02.png">
    
    아래와 같이 "그렇지!"하는 옵션이 나올때까지 스크롤을 내려서 볼 수 있습니다:
    
    <img src="/img/python-types/image03.png">
    
    ## 더 큰 동기부여
    
    아래 함수를 보면, 이미 타입 힌트가 적용되어 있는 걸 볼 수 있습니다:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.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)
  10. docs/tr/docs/python-types.md

    <img src="/img/python-types/image02.png">
    
    Aradığınızı bulana kadar seçenekleri kaydırabilirsiniz:
    
    <img src="/img/python-types/image03.png">
    
    ## Daha fazla motivasyon
    
    Bu fonksiyon, zaten tür belirteçlerine sahip:
    
    ```Python hl_lines="1"
    {!../../../docs_src/python_types/tutorial003.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
Back to top