Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for person (0.17 sec)

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

    ### Классы как типы
    
    Вы также можете объявить класс как тип переменной.
    
    Допустим, у вас есть класс `Person` с полем `name`:
    
    ```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 May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    <img src="/img/python-types/image06.png">
    
    Notice that this means "`one_person` is an **instance** of the class `Person`".
    
    It doesn't mean "`one_person` is the **class** called `Person`".
    
    ## Pydantic models
    
    <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> is a Python library to perform data validation.
    
    You declare the "shape" of the data as classes with attributes.
    
    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)
  3. docs/uk/docs/python-types.md

    ### Класи як типи
    
    Ви також можете оголосити клас як тип змінної.
    
    Скажімо, у вас є клас `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 May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/metadata.md

    | `license_info`...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. docs/de/docs/help-fastapi.md

    ### Das Problem reproduzieren
    
    In den meisten Fällen und bei den meisten Fragen ist etwas mit dem von der Person erstellten **eigenen Quellcode** los.
    
    In vielen Fällen wird nur ein Fragment des Codes gepostet, aber das reicht nicht aus, um **das Problem zu reproduzieren**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:57 GMT 2024
    - 16K bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

    <img src="/img/python-types/image06.png">
    
    Lưu ý rằng, điều này có nghĩa rằng "`one_person`" là một **thực thể** của lớp `Person`.
    
    Nó không có nghĩa "`one_person`" là một **lớp** gọi là `Person`.
    
    ## Pydantic models
    
    <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> là một thư viện Python để validate dữ liệu hiệu năng cao.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:29:25 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 15:34:37 GMT 2024
    - 36K bytes
    - Viewed (0)
  10. docs/en/docs/help-fastapi.md

    ---
    
    Here's how to help others with questions (in discussions or issues):
    
    ### Understand the question
    
    * Check if you can understand what is the **purpose** and use case of the person asking.
    
    * Then check if the question (the vast majority are questions) is **clear**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
Back to top