Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 892 for Item (0.02 seconds)

  1. docs/zh/docs/advanced/templates.md

    ///
    
    ## 编写模板 { #writing-templates }
    
    编写模板 `templates/item.html`,代码如下:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### 模板上下文值 { #template-context-values }
    
    在包含如下语句的html中:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...这将显示你从 "context" 字典传递的 `id`:
    
    ```Python
    {"id": id}
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/templates.md

    ## Escrevendo templates { #writing-templates }
    
    Então você pode escrever um template em `templates/item.html`, por exemplo:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Valores de contexto do template { #template-context-values }
    
    No código HTML que contém:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ModelBuilderSupport.java

            List<Element> matches = new ArrayList<Element>();
            NodeList childNodes = element.getChildNodes();
            for (int i = 0; i < childNodes.getLength(); i++) {
                Node node = childNodes.item(i);
                if (node instanceof Element) {
                    Element childElement = (Element) node;
                    if (childElement.getTagName().equals(childName)) {
                        matches.add(childElement);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/additional-responses.md

                        "message": {
                            "title": "Message",
                            "type": "string"
                        }
                    }
                },
                "Item": {
                    "title": "Item",
                    "required": [
                        "id",
                        "value"
                    ],
                    "type": "object",
                    "properties": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/templates.md

    ///
    
    ## Templates erstellen { #writing-templates }
    
    Dann können Sie unter `templates/item.html` ein Template erstellen, mit z. B. folgendem Inhalt:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template-Kontextwerte { #template-context-values }
    
    Im HTML, welches enthält:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  6. docs/ru/docs/advanced/templates.md

    ///
    
    ## Написание шаблонов { #writing-templates }
    
    Затем вы можете создать шаблон в `templates/item.html`, например:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Значения контекста шаблона { #template-context-values }
    
    В HTML, который содержит:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 5K bytes
    - Click Count (0)
  7. docs/tr/docs/advanced/templates.md

    ///
    
    ## Template Yazma { #writing-templates }
    
    Ardından örneğin `templates/item.html` konumunda bir template yazabilirsiniz:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### Template Context Değerleri { #template-context-values }
    
    Şu HTML içeriğinde:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/templates.md

    ///
    
    ## 撰寫模板 { #writing-templates }
    
    接著你可以在 `templates/item.html` 編寫模板,例如:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ### 模板 context 值 { #template-context-values }
    
    在包含以下內容的 HTML 中:
    
    {% raw %}
    
    ```jinja
    Item ID: {{ id }}
    ```
    
    {% endraw %}
    
    ...它會顯示你在傳入的 context `dict` 中提供的 `id`:
    
    ```Python
    {"id": id}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/query-params.md

        }
      ]
    }
    ```
    
    Da `needy` ein erforderlicher Parameter ist, müssen Sie ihn in der URL setzen:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    ... Das funktioniert:
    
    ```JSON
    {
        "item_id": "foo-item",
        "needy": "sooooneedy"
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/server-sent-events.md

    Importe `EventSourceResponse` de `fastapi.sse`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Cada item produzido é codificado como JSON e enviado no campo `data:` de um evento SSE.
    
    Se você declarar o tipo de retorno como `AsyncIterable[Item]`, o FastAPI o usará para validar, documentar e serializar os dados com o Pydantic.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top