Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for 4321 (0.01 sec)

  1. docs/ru/docs/tutorial/encoder.md

    Для этого можно использовать функцию `jsonable_encoder`.
    
    Она принимает объект, например, Pydantic-модель, и возвращает его версию, совместимую с JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    В данном примере она преобразует Pydantic-модель в `dict`, а `datetime` - в `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/encoder.md

    You can use `jsonable_encoder` for that.
    
    It receives an object, like a Pydantic model, and returns a JSON compatible version:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

          if (property == JAVA_COMPILER) {
            continue;
          }
          // Removed in Java 9:
          // https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B
          if (property == JAVA_EXT_DIRS) {
            continue;
          }
          assertWithMessage(property.toString()).that(property.value()).isNotNull();
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/encoder.md

    Puedes usar `jsonable_encoder` para eso.
    
    Recibe un objeto, como un modelo de Pydantic, y devuelve una versión compatible con JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    En este ejemplo, convertiría el modelo de Pydantic a un `dict`, y el `datetime` a un `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/encoder.md

    Sie können für diese Fälle `jsonable_encoder` verwenden.
    
    Es nimmt ein Objekt entgegen, wie etwa ein Pydantic-Modell, und gibt eine JSON-kompatible Version zurück:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In diesem Beispiel wird das Pydantic-Modell in ein `dict`, und das `datetime`-Objekt in ein `str` konvertiert.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/encoder.md

    Você pode usar a função `jsonable_encoder` para resolver isso.
    
    A função recebe um objeto, como um modelo Pydantic e retorna uma versão compatível com JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    Neste exemplo, ele converteria o modelo Pydantic em um `dict`, e o `datetime` em um `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/encoder.md

    同样,这个数据库也不会接收Pydantic模型(带有属性的对象),而只接收`dict`。
    
    对此你可以使用`jsonable_encoder`。
    
    它接收一个对象,比如Pydantic模型,并会返回一个JSON兼容的版本:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    在这个例子中,它将Pydantic模型转换为`dict`,并将`datetime`转换为`str`。
    
    调用它的结果后就可以使用Python标准编码中的<a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/encoder.md

    Ви можете використовувати `jsonable_encoder` для цього.
    
    Вона приймає об'єкт, такий як Pydantic model, і повертає його версію, сумісну з JSON:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    У цьому прикладі вона конвертує Pydantic model у `dict`, а `datetime` у `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/bug_report.yaml

            version instead.
    
      - type: input
        attributes:
          label: Guava Version
          description: Which version of Guava are you using?
          placeholder: e.g., 33.2.1-jre
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Description
          description: Please describe the issue you encountered.
        validations:
          required: true
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 16 20:08:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/schema-extra-example.md

    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:21] *}
    
    这些额外的信息将按原样添加到输出的JSON模式中。
    
    ## `Field` 的附加参数
    
    在 `Field`, `Path`, `Query`, `Body` 和其他你之后将会看到的工厂函数,你可以为JSON 模式声明额外信息,你也可以通过给工厂函数传递其他的任意参数来给JSON 模式声明额外信息,比如增加 `example`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top