Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,018 for type2 (0.02 sec)

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

    #### Types génériques
    
    Les types qui peuvent contenir des paramètres de types entre crochets, comme :
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Optional`
    * ...et d'autres.
    
    sont appelés des **types génériques** ou **Generics**.
    
    ### Classes en tant que types
    
    Vous pouvez aussi déclarer une classe comme type d'une variable.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. docs/tr/docs/python-types.md

    Şimdi programı sıfırdan birdaha yazdığınızı hayal edin.
    
    Aynı noktada, `Ctrl+Space` ile otomatik tamamlamayı tetiklediniz  ve şunu görüyorsunuz:
    
    <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"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/extra-data-types.md

    * Sie können alle gültigen Pydantic-Datentypen hier überprüfen: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic data types</a>.
    
    ## Beispiel
    
    Hier ist ein Beispiel für eine *Pfadoperation* mit Parametern, die einige der oben genannten Typen verwenden.
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="1  3  12-16"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/uk/docs/python-types.md

    # Вступ до типів Python
    
    Python підтримує додаткові "підказки типу" ("type hints") (також звані "анотаціями типу" ("type annotations")).
    
    Ці **"type hints"** є спеціальним синтаксисом, що дозволяє оголошувати <abbr title="наприклад: str, int, float, bool">тип</abbr> змінної.
    
    За допомогою оголошення типів для ваших змінних, редактори та інструменти можуть надати вам кращу підтримку.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. 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!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. docs/ko/docs/python-types.md

    <img src="/img/python-types/image02.png">
    
    아래와 같이 "그렇지!"하는 옵션이 나올때까지 스크롤을 내려서 볼 수 있습니다:
    
    <img src="/img/python-types/image03.png">
    
    ## 더 큰 동기부여
    
    아래 함수를 보면, 이미 타입 힌트가 적용되어 있는 걸 볼 수 있습니다:
    
    ```Python hl_lines="1"
    {!../../docs_src/python_types/tutorial003.py!}
    ```
    
    편집기가 변수의 타입을 알고 있기 때문에, 자동완성 뿐 아니라 에러도 확인할 수 있습니다:
    
    <img src="/img/python-types/image04.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. 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">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. fastapi/py.typed

    Steve B <******@****.***> 1557567827 +0200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 11 09:43:47 UTC 2019
    - Viewed (0)
  9. docs/ja/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!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. fastapi/types.py

    import types
    from enum import Enum
    from typing import Any, Callable, Dict, Set, Type, TypeVar, Union
    
    from pydantic import BaseModel
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = Dict[Union[Type[BaseModel], Type[Enum]], str]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Dec 12 00:29:03 UTC 2023
    - 383 bytes
    - Viewed (0)
Back to top