Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for from (0.14 sec)

  1. docs/vi/docs/features.md

    Bạn viết chuẩn Python với kiểu dữ liệu như sau:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. docs/tr/docs/features.md

    Standart Python'u typelarını belirterek yazıyorsun:
    
    ```Python
    from typing import List, Dict
    from datetime import date
    
    from pydantic import BaseModel
    
    # Değişkeni str olarak belirt
    # ve o fonksiyon için harika bir editör desteği al
    def main(user_id: str):
        return user_id
    
    
    # Pydantic modeli
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/de/docs/features.md

    Sie schreiben Standard-Python mit Typen:
    
    ```Python
    from typing import List, Dict
    from datetime import date
    
    from pydantic import BaseModel
    
    # Deklarieren Sie eine Variable als ein `str`
    # und bekommen Sie Editor-Unterstütung innerhalb der Funktion
    def main(user_id: str):
        return user_id
    
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. docs/ja/docs/features.md

    (FastAPIを使用しない場合でも)Pythonの型の使用方法について簡単な復習が必要な場合は、短いチュートリアル([Python Types](python-types.md){.internal-link target=_blank})を参照してください。
    
    型を使用した標準的なPythonを記述します:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. docs/en/docs/features.md

    You write standard Python with types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. docs/pt/docs/features.md

    Você escreve Python padrão com tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare uma variável como str
    # e obtenha suporte do editor dentro da função
    def main(user_id: str):
        return user_id
    
    
    # Um modelo do Pydantic
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. docs/fr/docs/features.md

    Vous écrivez du python standard avec des annotations de types:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Déclare une variable comme étant une str
    # et profitez de l'aide de votre IDE dans cette fonction
    def main(user_id: str):
        return user_id
    
    
    # Un modèle Pydantic
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. docs/zh/docs/features.md

    如果你需要2分钟来学习如何使用 Python 类型(即使你不使用 FastAPI ),看看这个简短的教程:[Python Types](python-types.md){.internal-link target=_blank}。
    
    编写带有类型标注的标准 Python:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. docs/em/docs/features.md

    🚥 👆 💪 2️⃣ ⏲ ↗️ ❔ ⚙️ 🐍 🆎 (🚥 👆 🚫 ⚙️ FastAPI), ✅ 📏 🔰: [🐍 🆎](python-types.md){.internal-link target=_blank}.
    
    👆 ✍ 🐩 🐍 ⏮️ 🆎:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  10. docs/pl/docs/features.md

    Wystarczy, że napiszesz standardowe deklaracje typów Pythona:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Zadeklaruj parametr jako str
    # i uzyskaj wsparcie edytora wewnątrz funkcji
    def main(user_id: str):
        return user_id
    
    
    # Model Pydantic
    class User(BaseModel):
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top