Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2261 - 2270 of 2,633 for paths (0.03 seconds)

  1. docs/zh-hant/docs/tutorial/response-status-code.md

    # 回應狀態碼 { #response-status-code }
    
    就像你可以指定回應模型一樣,你也可以在任一個「路徑操作(path operation)」的參數 `status_code` 中宣告回應所使用的 HTTP 狀態碼:
    
    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * 等等
    
    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note | 注意
    
    請注意,`status_code` 是「裝飾器(decorator)」方法(`get`、`post` 等等)的參數,而不是你的「路徑操作函式」的參數,就像所有的參數與 body 一樣。
    
    ///
    
    參數 `status_code` 接受一個數字作為 HTTP 狀態碼。
    
    /// info | 資訊
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionDownloadPlugin.java

         * Works out the gradle project name that provides a distribution artifact.
         *
         * @param distribution the distribution from which to derive a project name
         * @return the name of a project. It is not the full project path, only the name.
         */
        private static String distributionProjectName(ElasticsearchDistribution distribution) {
            ElasticsearchDistribution.Platform platform = distribution.getPlatform();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/Graphs.java

      private Graphs() {}
    
      // Graph query methods
    
      /**
       * Returns true if {@code graph} has at least one cycle. A cycle is defined as a non-empty subset
       * of edges in a graph arranged to form a path (a sequence of adjacent outgoing edges) starting
       * and ending with the same node.
       *
       * <p>This method will detect any non-empty cycle, including self-loops (a cycle of length 1).
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  4. docs/iam/identity-management-plugin.md

    $ mc admin config set myminio identity_plugin --env
    KEY:
    identity_plugin  enable Identity Plugin via external hook
    
    ARGS:
    MINIO_IDENTITY_PLUGIN_URL*          (url)       plugin hook endpoint (HTTP(S)) e.g. "http://localhost:8181/path/to/endpoint"
    MINIO_IDENTITY_PLUGIN_AUTH_TOKEN    (string)    authorization token for plugin hook endpoint
    MINIO_IDENTITY_PLUGIN_ROLE_POLICY*  (string)    policies to apply for plugin authorized users
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Click Count (0)
  5. docs/ko/docs/advanced/security/oauth2-scopes.md

    하지만 실제 애플리케이션에서는 보안을 위해, 사용자가 실제로 가질 수 있는 스코프만(또는 미리 정의한 것만) 추가하도록 반드시 확인해야 합니다.
    
    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## *경로 처리*와 의존성에서 스코프 선언하기 { #declare-scopes-in-path-operations-and-dependencies }
    
    이제 `/users/me/items/`에 대한 *경로 처리*가 스코프 `items`를 요구한다고 선언합니다.
    
    이를 위해 `fastapi`에서 `Security`를 import하여 사용합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/LmhostsTest.java

    import static org.mockito.Mockito.when;
    
    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.StringReader;
    import java.lang.reflect.Field;
    import java.nio.file.Path;
    import java.util.Map;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.TempDir;
    import org.mockito.MockedConstruction;
    import org.mockito.Mockito;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    If the token is invalid, return an HTTP error right away.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Update the `/token` *path operation* { #update-the-token-path-operation }
    
    Create a `timedelta` with the expiration time of the token.
    
    Create a real JWT access token and return it.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/response-cookies.md

    # レスポンスの Cookie { #response-cookies }
    
    ## `Response` パラメータを使う { #use-a-response-parameter }
    
    *path operation 関数*で `Response` 型のパラメータを宣言できます。
    
    そして、その*一時的*なレスポンスオブジェクトに Cookie を設定できます。
    
    {* ../../docs_src/response_cookies/tutorial002_py310.py hl[1, 8:9] *}
    
    その後は通常どおり、必要な任意のオブジェクト(`dict`、データベースモデルなど)を返せます。
    
    `response_model` を宣言している場合でも、返したオブジェクトは引き続きフィルタおよび変換されます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  9. docs/ja/docs/how-to/graphql.md

    # GraphQL { #graphql }
    
    **FastAPI** は **ASGI** 標準に基づいているため、ASGI に対応した任意の **GraphQL** ライブラリを簡単に統合できます。
    
    同じアプリケーション内で通常の FastAPI の *path operation* と GraphQL を組み合わせて使えます。
    
    /// tip | 豆知識
    
    **GraphQL** は非常に特定のユースケースを解決します。
    
    一般的な **Web API** と比べると、**長所** と **短所** があります。
    
    ご自身のユースケースで得られる **利点** が **欠点** を補うかどうかを評価してください。 🤓
    
    ///
    
    ## GraphQL ライブラリ { #graphql-libraries }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/server-sent-events.md

    Так как Pydantic будет сериализовать это на стороне **Rust**, вы получите значительно более высокую **производительность**, чем если не объявите тип возврата.
    
    ///
    
    ### Несинхронные функции-обработчики пути { #non-async-path-operation-functions }
    
    Вы также можете использовать обычные функции `def` (без `async`) и применять `yield` тем же образом.
    
    FastAPI проследит, чтобы выполнение прошло корректно и не блокировало цикл событий.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.4K bytes
    - Click Count (0)
Back to Top