Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 208 for url_lines (0.04 sec)

  1. docs/ru/docs/async.md

    которая поддерживает асинхронность. Для этого вам просто нужно объявить её как `async def`:
    
    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Готовим бургеры по специальному асинхронному рецепту
        return burgers
    ```
    
    ...вместо `def`:
    
    ```Python hl_lines="2"
    # Это не асинхронный код
    def get_sequential_burgers(number: int):
        # Готовим бургеры последовательно по шагам
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/additional-responses.md

    ///
    
    O retorno gerado no OpenAI para esta *operação de caminho* será:
    
    ```JSON hl_lines="3-12"
    {
        "responses": {
            "404": {
                "description": "Additional Response",
                "content": {
                    "application/json": {
                        "schema": {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp

                                                    <li class="col-sm-12">
                                                        <h3 class="title">
                                                            <a href="${doc.url_link}">${doc.content_title}</a>
                                                        </h3>
                                                        <div class="body col-sm-10">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 24 13:09:22 UTC 2020
    - 20K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/additional-responses.md

                - 一个键` schema` ,它的值是来自模型的`JSON Schema`,正确的位置在这里。
                    - **FastAPI**在这里添加了对OpenAPI中另一个地方的全局JSON模式的引用,而不是直接包含它。这样,其他应用程序和客户端可以直接使用这些JSON模式,提供更好的代码生成工具等。
    
    ///
    
    **在OpenAPI中为该路径操作生成的响应将是:**
    
    ```json hl_lines="3-12"
    {
        "responses": {
            "404": {
                "description": "Additional Response",
                "content": {
                    "application/json": {
                        "schema": {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:29:26 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. docs/pt/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Faz alguma coisa assíncrona para criar os hambúrgueres
        return burgers
    ```
    
    ...ao invés de `def`:
    
    ```Python hl_lines="2"
    # Isso não é assíncrono
    def get_sequential_burgers(number: int):
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/templates.md

    ///
    
    ## ✍ 📄
    
    ⤴️ 👆 💪 ✍ 📄 `templates/item.html` ⏮️:
    
    ```jinja hl_lines="7"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    ⚫️ 🔜 🎦 `id` ✊ ⚪️➡️ "🔑" `dict` 👆 🚶‍♀️:
    
    ```Python
    {"request": request, "id": id}
    ```
    
    ## 📄 &amp; 🎻 📁
    
    &amp; 👆 💪 ⚙️ `url_for()` 🔘 📄, &amp; ⚙️ ⚫️, 🖼, ⏮️ `StaticFiles` 👆 📌.
    
    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | Tipp
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    ```Python hl_lines="1"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/templates.md

    ```
    
    ## 템플릿과 정적 파일
    
    템플릿 내에서 `url_for()`를 사용할 수 있으며, 예를 들어 `name="static"`으로 마운트한 `StaticFiles`와 함께 사용할 수 있습니다.
    
    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    이 예제에서는 `static/styles.css`에 있는 CSS 파일에 연결될 것입니다:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 13:07:23 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/response-model.md

    ```Python hl_lines="3  5"
    {
        "name": "Bar",
        "description": "The bartenders",
        "price": 62,
        "tax": 20.2
    }
    ```
    
    응답에 해당 값들이 포함됩니다.
    
    #### 기본값과 동일한 값을 갖는 데이터
    
    If the data has the same values as the default ones, like the item with ID `baz`:
    ID가 `baz`인 항목(items)처럼 기본값과 동일한 값을 갖는다면:
    
    ```Python hl_lines="3  5-6"
    {
        "name": "Baz",
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/behind-a-proxy.md

    ///
    
    La UI de los docs también necesitaría el esquema de OpenAPI para declarar que este API `servidor` se encuentra en `/api/v1` (detrás del proxy). Por ejemplo:
    
    ```JSON hl_lines="4-8"
    {
        "openapi": "3.1.0",
        // Más cosas aquí
        "servers": [
            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // Más cosas aquí
        }
    }
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top