Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for john (0.14 sec)

  1. docs/pt/docs/tutorial/extra-models.md

    Os modelos Pydantic possuem um método `.dict()` que retorna um `dict` com os dados do modelo.
    
    Então, se criarmos um objeto Pydantic `user_in` como:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="john******@****.***")
    ```
    
    e depois chamarmos:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/extra-models.md

    ```Python
    user_in = UserIn(username="john", password="secret", email="john******@****.***")
    ```
    
    & ⤴️ 👥 🤙:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    👥 🔜 ✔️ `dict` ⏮️ 💽 🔢 `user_dict` (⚫️ `dict` ↩️ Pydantic 🏷 🎚).
    
    & 🚥 👥 🤙:
    
    ```Python
    print(user_dict)
    ```
    
    👥 🔜 🤚 🐍 `dict` ⏮️:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/extra-models.md

    У Pydantic-моделей есть метод `.dict()`, который возвращает `dict` с данными модели.
    
    Поэтому, если мы создадим Pydantic-объект `user_in` таким способом:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="john******@****.***")
    ```
    
    и затем вызовем:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    Pydantic models have a `.dict()` method that returns a `dict` with the model's data.
    
    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="john******@****.***")
    ```
    
    and then we call:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  5. docs/zh/docs/tutorial/extra-models.md

    ```Python
    user_in = UserIn(username="john", password="secret", email="john******@****.***")
    ```
    
    就能以如下方式调用:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    现在,变量 `user_dict`中的就是包含数据的**字典**(变量 `user_dict` 是字典,不是 Pydantic 模型对象)。
    
    以如下方式调用:
    
    ```Python
    print(user_dict)
    ```
    
    输出的就是 Python **字典**:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 01 01:15:53 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/extra-models.md

    Pydantic-Modelle haben eine `.dict()`-Methode, die ein `dict` mit den Daten des Modells zurückgibt.
    
    Wenn wir also ein Pydantic-Objekt `user_in` erstellen, etwa so:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="john******@****.***")
    ```
    
    und wir rufen seine `.dict()`-Methode auf:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/extra-models.md

    ```Python
    user_in = UserIn(username="john", password="secret", email="john******@****.***")
    ```
    
    そして呼び出すと:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    これで変数`user_dict`のデータを持つ`dict`ができました。(これはPydanticモデルのオブジェクトの代わりに`dict`です)。
    
    そして呼び出すと:
    
    ```Python
    print(user_dict)
    ```
    
    以下のようなPythonの`dict`を得ることができます:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 15:36:32 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  8. licenses/github.com/docker/docker/contrib/busybox/LICENSE

    The MIT License (MIT)
    
    Copyright (c) 2015 John Howard (Microsoft)
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 15 21:25:06 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  9. docs/ru/docs/python-types.md

    ## Мотивация
    
    Давайте начнем с простого примера:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Вызов этой программы выводит:
    
    ```
    John Doe
    ```
    
    Функция делает следующее:
    
    * Принимает `first_name` и `last_name`.
    * Преобразует первую букву содержимого каждой переменной в верхний регистр с `title()`.
    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)
  10. docs/zh/docs/python-types.md

    !!! note
        如果你已经精通 Python,并且了解关于类型提示的一切知识,直接跳到下一章节吧。
    
    ## 动机
    
    让我们从一个简单的例子开始:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    运行这段程序将输出:
    
    ```
    John Doe
    ```
    
    这个函数做了下面这些事情:
    
    * 接收 `first_name` 和 `last_name` 参数。
    * 通过 `title()` 将每个参数的第一个字母转换为大写形式。
    * 中间用一个空格来<abbr title="将它们按顺序放置组合成一个整体。">拼接</abbr>它们。
    
    ```Python hl_lines="2"
    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)
Back to top