Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Larson (0.29 sec)

  1. tests/test_jsonable_encoder.py

    from .utils import needs_pydanticv1, needs_pydanticv2
    
    
    class Person:
        def __init__(self, name: str):
            self.name = name
    
    
    class Pet:
        def __init__(self, owner: Person, name: str):
            self.owner = owner
            self.name = name
    
    
    @dataclass
    class Item:
        name: str
        count: int
    
    
    class DictablePerson(Person):
        def __iter__(self):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. docs/de/docs/python-types.md

    <img src="/img/python-types/image06.png">
    
    Beachten Sie, das bedeutet: „`one_person` ist eine **Instanz** der Klasse `Person`“.
    
    Es bedeutet nicht: „`one_person` ist die **Klasse** genannt `Person`“.
    
    ## Pydantic Modelle
    
    <a href="https://pydantic-docs.helpmanual.io/" class="external-link" target="_blank">Pydantic</a> ist eine Python-Bibliothek für die Validierung von Daten.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. docs/bn/docs/python-types.md

    <img src="/img/python-types/image06.png">
    
    লক্ষ্য করুন যে এর মানে হল "`one_person` হল ক্লাস `Person`-এর একটি **ইন্সট্যান্স**।"
    
    এর মানে এটি নয় যে "`one_person` হল **ক্লাস** যাকে বলা হয় `Person`।"
    
    ## Pydantic মডেল
    
    [Pydantic](https://docs.pydantic.dev/) হল একটি Python লাইব্রেরি যা ডাটা ভ্যালিডেশন সম্পাদন করে।
    
    আপনি ডাটার "আকার" এট্রিবিউট সহ ক্লাস হিসেবে ঘোষণা করেন।
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Apr 03 15:34:37 GMT 2024
    - 36K bytes
    - Viewed (0)
  4. docs/tr/docs/python-types.md

    ### Tip olarak Sınıflar
    
    Bir değişkenin tipini bir sınıf ile bildirebilirsiniz.
    
    Diyelim ki  `name` değerine sahip `Person` sınıfınız var:
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Sonra bir değişkeni 'Person' tipinde tanımlayabilirsiniz:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. docs/pt/docs/python-types.md

    ### Classes como tipos
    
    Você também pode declarar uma classe como o tipo de uma variável.
    
    Digamos que você tenha uma classe `Person`, com um nome:
    
    ```Python hl_lines="1 2 3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Então você pode declarar que uma variável é do tipo `Person`:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  6. docs/es/docs/python-types.md

    ### Clases como tipos
    
    También puedes declarar una clase como el tipo de una variable.
    
    Digamos que tienes una clase `Person`con un nombre:
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial009.py!}
    ```
    
    Entonces puedes declarar una variable que sea de tipo `Person`:
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial009.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  7. docs/fr/docs/python-types.md

    ### Classes en tant que types
    
    Vous pouvez aussi déclarer une classe comme type d'une variable.
    
    Disons que vous avez une classe `Person`, avec une variable `name` :
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Vous pouvez ensuite déclarer une variable de type `Person` :
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. docs/ko/docs/python-types.md

    * ...등등
    
    위와 같은 타입은 **Generic(제네릭) 타입** 혹은 **Generics(제네릭스)**라고 불립니다.
    
    ### 타입으로서의 클래스
    
    변수의 타입으로 클래스를 선언할 수도 있습니다.
    
    이름(name)을 가진 `Person` 클래스가 있다고 해봅시다.
    
    ```Python hl_lines="1-3"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    그렇게 하면 변수를 `Person`이라고 선언할 수 있게 됩니다.
    
    ```Python hl_lines="6"
    {!../../../docs_src/python_types/tutorial010.py!}
    ```
    
    그리고 역시나 모든 에디터 도움을 받게 되겠죠.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. docs/de/docs/index.md

    * <abbr title="auch bekannt als: Serialisierung, Parsen, Marshalling">Konvertierung</abbr> von Eingabedaten: Aus dem Netzwerk kommend, zu Python-Daten und -Typen. Lesen von:
        * JSON.
        * Pfad-Parametern.
        * Abfrage-Parametern.
        * Cookies.
        * Header-Feldern.
        * Formularen.
        * Dateien.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:28:17 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/query-params.md

    Die gleichen Prozesse, die für Pfad-Parameter stattfinden, werden auch auf Query-Parameter angewendet:
    
    * Editor Unterstützung (natürlich)
    * <abbr title="Konvertieren des Strings, der von einer HTTP-Anfrage kommt, in Python-Daten">„Parsen“</abbr> der Daten
    * Datenvalidierung
    * Automatische Dokumentation
    
    ## Defaultwerte
    
    Da Query-Parameter nicht ein festgelegter Teil des Pfades sind, können sie optional sein und Defaultwerte haben.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 25 14:53:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top