Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1571 - 1580 of 2,115 for path2 (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/docs/advanced/additional-status-codes.md

    # 額外的狀態碼 { #additional-status-codes }
    
    在預設情況下,**FastAPI** 會使用 `JSONResponse` 傳回回應,並把你從你的「路徑操作(path operation)」回傳的內容放進該 `JSONResponse` 中。
    
    它會使用預設的狀態碼,或你在路徑操作中設定的狀態碼。
    
    ## 額外的狀態碼 { #additional-status-codes_1 }
    
    如果你想在主要狀態碼之外再回傳其他狀態碼,可以直接回傳一個 `Response`(例如 `JSONResponse`),並直接設定你想要的額外狀態碼。
    
    例如,你想要有一個允許更新項目的路徑操作,成功時回傳 HTTP 狀態碼 200 "OK"。
    
    但你也希望它能接受新項目;當項目先前不存在時就建立它們,並回傳 HTTP 狀態碼 201 "Created"。
    
    要達成這點,匯入 `JSONResponse`,直接在那裡回傳內容,並設定你想要的 `status_code`:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  2. docs/de/docs/advanced/security/oauth2-scopes.md

    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## Scopes in *Pfadoperationen* und Abhängigkeiten deklarieren { #declare-scopes-in-path-operations-and-dependencies }
    
    Jetzt deklarieren wir, dass die *Pfadoperation* für `/users/me/items/` den Scope `items` erfordert.
    
    Dazu importieren und verwenden wir `Security` von `fastapi`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  3. docs/es/docs/how-to/conditional-openapi.md

    Ocultar las interfaces de usuario de la documentación en producción *no debería* ser la forma de proteger tu API.
    
    Eso no añade ninguna seguridad extra a tu API, las *path operations* seguirán estando disponibles donde están.
    
    Si hay una falla de seguridad en tu código, seguirá existiendo.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  4. docs/en/docs/reference/responses.md

    # Custom Response Classes - File, HTML, Redirect, Streaming, etc.
    
    There are several custom response classes you can use to create an instance and return them directly from your *path operations*.
    
    Read more about it in the [FastAPI docs for Custom Response - HTML, Stream, File, others](https://fastapi.tiangolo.com/advanced/custom-response/).
    
    You can import them directly from `fastapi.responses`:
    
    ```python
    from fastapi.responses import (
        FileResponse,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 22 16:34:59 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/sub-applications.md

    ### Технические подробности: `root_path` { #technical-details-root-path }
    
    Когда вы монтируете подприложение, как описано выше, FastAPI позаботится о передаче пути монтирования для подприложения, используя механизм из спецификации ASGI под названием `root_path`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/request-forms.md

    <dfn title="спецификация">спецификация</dfn> требует, чтобы поля были строго названы `username` и `password` и отправлялись как поля формы, а не JSON.
    
    С помощью `Form` вы можете объявить те же настройки, что и с `Body` (и `Query`, `Path`, `Cookie`), включая валидацию, примеры, псевдоним (например, `user-name` вместо `username`) и т.д.
    
    /// info | Дополнительная информация
    
    `Form` — это класс, который наследуется непосредственно от `Body`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. docs/uk/docs/tutorial/request-forms.md

    <dfn title="специфікація">специфікація</dfn> вимагає, щоб ці поля мали точні назви `username` і `password` та надсилалися у вигляді полів форми, а не JSON.
    
    З `Form` ви можете оголошувати ті ж конфігурації, що і з `Body` (та `Query`, `Path`, `Cookie`), включаючи валідацію, приклади, псевдоніми (наприклад, `user-name` замість `username`) тощо.
    
    /// info | Інформація
    
    `Form` — це клас, який безпосередньо наслідується від `Body`.
    
    ///
    
    /// tip | Порада
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/SystemInfoTests.java

    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    import io.restassured.path.json.JsonPath;
    
    @Tag("it")
    public class SystemInfoTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "systemInfoTest_";
        private static final String API_PATH = "/api/admin/systeminfo";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratePackageInfoDataTask.kt

                val packageName = packageLineRegex.find(packageLine)!!.groupValues[1]
                results.add(packageName to packageInfoFile.relativeTo(baseDir).path)
            }
    
            val outputData = results.groupBy(keySelector = { it.first }, valueTransform = { it.second })
            outputFile.get().asFile.writeText(Gson().toJson(outputData))
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. .github/workflows/codeql-analysis.yml

            # By default, queries listed here will override any specified in a config file.
            # Prefix the list here with "+" to use these queries and those in the config file.
            # queries: ./path/to/local/query, your-org/your-repo/queries@main
    
        # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
        # If this step fails, then you should remove it and run the build manually (see below)
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top