Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 1,839 for note (0.02 seconds)

  1. docs/ja/docs/tutorial/handling-errors.md

    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    しかし、クライアントが`http://example.com/items/bar`(存在しない`item_id` `"bar"`)をリクエストした場合、HTTPステータスコード404("not found"エラー)と以下のJSONレスポンスが返されます:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip | 豆知識
    
    `HTTPException`を発生させる際には、`str`だけでなく、JSONに変換できる任意の値を`detail`パラメータとして渡すことができます。
    
    `dict`や`list`などを渡すことができます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/cors.md

    ## 더 많은 정보
    
    <abbr title="교차-출처 리소스 공유">CORS</abbr>에 대한 더 많은 정보를 알고싶다면, <a href="https://developer.mozilla.org/ko/docs/Web/HTTP/CORS" class="external-link" target="_blank">Mozilla CORS 문서</a>를 참고하기 바랍니다.
    
    /// note | 기술적 세부 사항
    
    `from starlette.middleware.cors import CORSMiddleware` 역시 사용할 수 있습니다.
    
    **FastAPI**는 개발자인 당신의 편의를 위해 `fastapi.middleware` 에서 몇가지의 미들웨어를 제공합니다. 하지만 대부분의 미들웨어가 Stralette으로부터 직접 제공됩니다.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/body.md

    * 만약 매개변수가 (`int`, `float`, `str`, `bool` 등과 같은) **유일한 타입**으로 되어있으면, **쿼리** 매개변수로 해석될 것입니다.
    * 만약 매개변수가 **Pydantic 모델** 타입으로 선언되어 있으면, 요청 **본문**으로 해석될 것입니다.
    
    /// note | 참고
    
    FastAPI는 `q`의 값이 필요없음을 알게 될 것입니다. 기본 값이 `= None`이기 때문입니다.
    
    `Union[str, None]`에 있는 `Union`은 FastAPI에 의해 사용된 것이 아니지만, 편집기로 하여금 더 나은 지원과 에러 탐지를 지원할 것입니다.
    
    ///
    
    ## Pydantic없이
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/cookie-param-models.md

    # クッキーパラメータモデル
    
    もし関連する**複数のクッキー**から成るグループがあるなら、それらを宣言するために、**Pydanticモデル**を作成できます。🍪
    
    こうすることで、**複数の場所**で**そのPydanticモデルを再利用**でき、バリデーションやメタデータを、すべてのクッキーパラメータに対して一度に宣言できます。😎
    
    /// note | 備考
    
    この機能は、FastAPIのバージョン `0.115.0` からサポートされています。🤓
    
    ///
    
    /// tip | 豆知識
    
    これと同じテクニックは `Query` 、 `Cookie` 、 `Header` にも適用できます。 😎
    
    ///
    
    ## クッキーにPydanticモデルを使用する
    
    必要な複数の**クッキー**パラメータを**Pydanticモデル**で宣言し、さらに、それを `Cookie` として宣言しましょう:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Feb 28 14:21:27 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip | 提示
    
    注意测试函数是普通的 `def`,不是 `async def`。
    
    还有client的调用也是普通的调用,不是用 `await`。
    
    这让你可以直接使用 `pytest` 而不会遇到麻烦。
    
    ///
    
    /// note | 技术细节
    
    你也可以用 `from starlette.testclient import TestClient`。
    
    **FastAPI** 提供了和 `starlette.testclient` 一样的 `fastapi.testclient`,只是为了方便开发者。但它直接来自Starlette。
    
    ///
    
    /// tip | 提示
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

         * @param session
         * @return PluginDescriptor The component descriptor for the Maven plugin.
         * @throws PluginNotFoundException The plugin could not be found in any repositories.
         * @throws PluginResolutionException The plugin could be found but could not be resolved.
         * @throws InvalidPluginDescriptorException
         */
        @Override
        public PluginDescriptor loadPlugin(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            }
    
            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
         * Decodes the specified (portion of a) URL. <strong>Note:</strong> This decoder assumes that ISO-8859-1 is used to
         * convert URL-encoded bytes to characters.
         *
         * @param url The URL to decode, may be <code>null</code>.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/security/oauth2-scopes.md

    同时,还传递了作用域**列表**,本例中只传递了一个作用域:`items`(此处支持传递更多作用域)。
    
    依赖项函数 `get_current_active_user` 还能声明子依赖项,不仅可以使用 `Depends`,也可以使用 `Security`。声明子依赖项函数(`get_current_user`)及更多作用域。
    
    本例要求使用作用域 `me`(还可以使用更多作用域)。
    
    /// note | 笔记
    
    不必在不同位置添加不同的作用域。
    
    本例使用的这种方式只是为了展示 **FastAPI** 如何处理在不同层级声明的作用域。
    
    ///
    
    {* ../../docs_src/security/tutorial005.py hl[4,139,166] *}
    
    /// info | 技术细节
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 29 20:41:04 GMT 2024
    - 11.6K bytes
    - Click Count (0)
  9. docs/es/docs/tutorial/security/first-steps.md

    ///
    
    Y si lo haces, tendrás un pequeño formulario de autorización para escribir un `username` y `password` (y otros campos opcionales):
    
    <img src="/img/tutorial/security/image02.png">
    
    /// note | Nota
    
    No importa lo que escribas en el formulario, aún no funcionará. Pero llegaremos allí.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            // if not embedded, JLine3 may detect redirection and will create dumb terminal.
            // To align Maven with outcomes, we set here color enabled based on these premises.
            // Note: Maven3 suffers from similar thing: if you do `mvn3 foo > log.txt`, the output will
            // not be not colored (good), but Maven will print out "Message scheme: color".
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
Back to Top