Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 82 for 4321 (0.02 seconds)

  1. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 1.8K bytes
    - Click Count (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`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. .github/workflows/update-test-buckets.yml

    name: Auto update test buckets
    
    on:
      schedule:
        - cron: '42 2 * * 1' # Every monday 2:42am UTC
      workflow_dispatch:
    
    permissions:
      contents: write
      id-token: write
      pull-requests: write
    
    jobs:
      update-test-buckets:
        runs-on: ubuntu-latest
    
        if: github.repository == 'gradle/gradle'
    
        steps:
          - name: Checkout repository
            uses: actions/checkout@v6
          - name: configure aws credentials
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 09 22:14:16 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. 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`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. 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>。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. docs/distributed/DECOMMISSION.md

    │ ID  │ Pools                           │ Capacity                         │ Status │
    │ 1st │ http://minio{1...2}/data{1...4} │ 439 GiB (used) / 561 GiB (total) │ Active │
    │ 2nd │ http://minio{3...4}/data{1...4} │ 329 GiB (used) / 421 GiB (total) │ Active │
    └─────┴─────────────────────────────────┴──────────────────────────────────┴────────┘
    ```
    
    ### Decommissioning status
    
    ```
    λ mc admin decommission status alias/ http://minio{1...2}/data{1...4}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 11 14:59:49 GMT 2022
    - 8.3K bytes
    - Click Count (0)
  7. 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`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. 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`:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  9. ci/official/containers/ml_build/builder.requirements.txt

    id
    urllib3
    requests
    
    # For XLA
    pyyaml
    
    # For JAX
    build ~= 1.2.2
    # uv is faster than pip for installing Python packages.
    uv ~= 0.5.30
    
    # For running wheel verification script
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Oct 30 20:25:44 GMT 2025
    - 271 bytes
    - Click Count (0)
  10. .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
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 16 20:08:25 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top