Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 459 for Depends (0.07 seconds)

  1. docs/es/docs/tutorial/security/simple-oauth2.md

    Ahora vamos a usar las utilidades proporcionadas por **FastAPI** para manejar esto.
    
    ### `OAuth2PasswordRequestForm` { #oauth2passwordrequestform }
    
    Primero, importa `OAuth2PasswordRequestForm`, y úsalo como una dependencia con `Depends` en la *path operation* para `/token`:
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[4,78] *}
    
    `OAuth2PasswordRequestForm` es una dependencia de clase que declara un body de formulario con:
    
    * El `username`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. SECURITY.md

    available to TensorFlow is powerful enough that you should assume that the
    TensorFlow process effectively executes arbitrary code.
    
    The risk of loading untrusted checkpoints depends on the code or graph that you
    are working with. When loading untrusted checkpoints, the values of the traced
    variables from your model are also going to be untrusted. That means that if
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  3. docs/security/README.md

    Further any secret key (apart from the KMS-generated ones) is 256 bits long. The KMS-generated keys may be 256 bits but this depends on the KMS capabilities and configuration.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 09:25:50 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  4. docs/ko/docs/tutorial/security/simple-oauth2.md

    OAuth2의 경우 문자열일 뿐입니다.
    
    ///
    
    ## `username`과 `password`를 가져오는 코드
    
    이제 **FastAPI**에서 제공하는 유틸리티를 사용하여 이를 처리해 보겠습니다.
    
    ### `OAuth2PasswordRequestForm`
    
    먼저 `OAuth2PasswordRequestForm`을 가져와 `/token`에 대한 *경로 작동*에서 `Depends`의 의존성으로 사용합니다.
    
    {* ../../docs_src/security/tutorial003.py hl[4,76] *}
    
    `OAuth2PasswordRequestForm`은 다음을 사용하여 폼 본문을 선언하는 클래스 의존성입니다:
    
    * `username`.
    * `password`.
    * `scope`는 선택적인 필드로 공백으로 구분된 문자열로 구성된 큰 문자열입니다.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 15 11:19:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. docs/ja/docs/advanced/websockets.md

    複数のメッセージを送信(および受信)できます。
    
    <img src="/img/tutorial/websockets/image04.png">
    
    そして、これらの通信はすべて同じWebSocket接続を使用します。
    
    ## 依存関係
    
    WebSocketエンドポイントでは、`fastapi` から以下をインポートして使用できます。
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    これらは、他のFastAPI エンドポイント/*path operation* の場合と同じように機能します。
    
    {* ../../docs_src/websockets/tutorial002.py hl[58:65,68:83] *}
    
    /// info | 情報
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * (never less than 1, never more than 2), depending on project packaging.
         * <p>
         * The list's first element is ALWAYS the project POM artifact. Presence of second element in the list depends
         * solely on the project packaging.
         *
         * @see #getPackaging()
         * @see #getPomArtifact()
         * @see #getMainArtifact()
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. docs/en/docs/help-fastapi.md

    ## Sponsor the author { #sponsor-the-author }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 14K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                String version = root.path("build", "plugins", "plugin", "version")
                        .map(Element::textContentTrimmed)
                        .orElse(null);
    
                // The exact version depends on the plugin upgrades configuration
                assertNotNull(version, "Plugin should have a version");
            }
    
            @Test
            @DisplayName("should not modify plugin when version is already sufficient")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  9. docs/en/docs/deployment/https.md

    You would probably do this just once, the first time, when setting everything up.
    
    /// tip
    
    This Domain Name part is way before HTTPS, but as everything depends on the domain and the IP address, it's worth mentioning it here.
    
    ///
    
    ### DNS { #dns }
    
    Now let's focus on all the actual HTTPS parts.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 19:34:08 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. docs/en/docs/release-notes.md

        return User()
    
    
    @app.get("/items/")
    def read_items(user: User = Depends(get_current_user)):
        ...
    
    
    @app.post("/items/")
    def create_item(*, user: User = Depends(get_current_user), item: Item):
        ...
    
    
    @app.get("/items/{item_id}")
    def read_item(*, user: User = Depends(get_current_user), item_id: int):
        ...
    
    
    @app.delete("/items/{item_id}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
Back to Top