Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 22 (0.14 sec)

  1. docs/ko/docs/tutorial/schema-extra-example.md

    ### `examples`를 포함한 `Body`
    
    여기, `Body()`에 예상되는 예제 데이터 하나를 포함한 `examples`를 넘겼습니다:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22-29"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="22-29"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="23-30"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/schema-extra-example.md

    * `value`: O próprio exemplo mostrado, ex: um `dict`.
    * `externalValue`: alternativa ao `value`, uma URL apontando para o exemplo. Embora isso possa não ser suportado por tantas ferramentas quanto `value`.
    
    ```Python hl_lines="22-48"
    {!../../../docs_src/schema_extra_example/tutorial004.py!}
    ```
    
    ### Exemplos na UI da documentação
    
    Com `examples` adicionado a `Body()`, os `/docs` vão ficar assim:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/schema-extra-example.md

    Здесь мы передаём аргумент `example`, как пример данных ожидаемых в параметре `Body()`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22-27"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="22-27"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="23-28"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/schema-extra-example.md

    你可以通过传递额外信息给 `Field` 同样的方式操作`Path`, `Query`, `Body`等。
    
    比如,你可以将请求体的一个 `example` 传递给 `Body`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22-27"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="22-27"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="23-28"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/schema-extra-example.md

    Hier übergeben wir `examples`, welches ein einzelnes Beispiel für die in `Body()` erwarteten Daten enthält:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22-29"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="22-29"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="23-30"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/schema-extra-example.md

    Here we pass `examples` containing one example of the data expected in `Body()`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="22-29"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="22-29"
        {!> ../../../docs_src/schema_extra_example/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="23-30"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top