Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 2,001 for modes (0.13 seconds)

  1. docs/pt/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    Mas isso ainda não é tão útil.
    
    Vamos fazer com que ele nos forneça o usuário atual.
    
    ## Criar um modelo de usuário { #create-a-user-model }
    
    Primeiro, vamos criar um modelo de usuário com Pydantic.
    
    Da mesma forma que usamos o Pydantic para declarar corpos, podemos usá-lo em qualquer outro lugar:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. TESTING.asciidoc

    can be tested. This section summarizes what one needs to take into consideration so that
    tests won't fail when run in fips mode.
    
    === Muting tests in FIPS 140-2 mode
    
    If the following limitations cannot be observed, or there is a need to actually test some use
    case that is not available/allowed in fips mode, the test can be muted. For unit tests or Java
    rest tests one can use
    
    ------------------------------------------------
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

    import java.util.function.Function;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.MonotonicClock;
    import org.apache.maven.api.Session;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Prerequisites;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    import org.apache.maven.artifact.ArtifactUtils;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

    import org.apache.maven.eventspy.internal.EventSpyDispatcher;
    import org.apache.maven.model.Profile;
    import org.apache.maven.project.ProjectBuildingRequest;
    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.codehaus.plexus.logging.Logger;
    import org.eclipse.aether.RepositoryCache;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/security/get-current-user.md

    # 获取当前用户 { #get-current-user }
    
    上一章中,(基于依赖注入系统的)安全系统向*路径操作函数*传递了 `str` 类型的 `token`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    但这并不实用。
    
    接下来,我们学习如何返回当前用户。
    
    
    ## 创建用户模型 { #create-a-user-model }
    
    首先,创建 Pydantic 用户模型。
    
    与使用 Pydantic 声明请求体相同,并且可在任何位置使用:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## 创建 `get_current_user` 依赖项 { #create-a-get-current-user-dependency }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:37:57 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    Pero eso aún no es tan útil. Vamos a hacer que nos dé el usuario actual.
    
    ## Crear un modelo de usuario { #create-a-user-model }
    
    Primero, vamos a crear un modelo de usuario con Pydantic.
    
    De la misma manera que usamos Pydantic para declarar cuerpos, podemos usarlo en cualquier otra parte:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. README.md

    $ fastapi dev
    
     ╭────────── FastAPI CLI - Development mode ───────────╮
     │                                                     │
     │  Serving at: http://127.0.0.1:8000                  │
     │                                                     │
     │  API docs: http://127.0.0.1:8000/docs               │
     │                                                     │
     │  Running in development mode, for production use:   │
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  8. fastapi/exceptions.py

        ```
        """
    
        def __init__(
            self,
            code: Annotated[
                int,
                Doc(
                    """
                    A closing code from the
                    [valid codes defined in the specification](https://datatracker.ietf.org/doc/html/rfc6455#section-7.4.1).
                    """
                ),
            ],
            reason: Annotated[
                str | None,
                Doc(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/testing.md

    * 對於 Cookie(cookies),在 `cookies` 參數中放一個 `dict`。
    
    關於如何把資料傳給後端(使用 `httpx` 或 `TestClient`),更多資訊請參考 [HTTPX 文件](https://www.python-httpx.org)。
    
    /// info
    
    請注意,`TestClient` 接收的是可轉為 JSON 的資料,而不是 Pydantic models。
    
    如果你的測試裡有一個 Pydantic model,並想在測試時把它的資料送給應用,你可以使用[JSON 相容編碼器](encoder.md)中介紹的 `jsonable_encoder`。
    
    ///
    
    ## 執行 { #run-it }
    
    接下來,你只需要安裝 `pytest`。
    
    請先建立並啟用一個[虛擬環境](../virtual-environments.md),然後安裝,例如:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  10. lib/fips140/v1.26.0.zip

    cpu.S390XHasSHA3 func init() { // CP Assist for Cryptographic Functions (CPACF) impl.Register("sha3", "CPACF", &useSHA3) } func keccakF1600(a *[200]byte) { keccakF1600Generic(a) } // codes represent 7-bit KIMD/KLMD function codes as defined in // the Principles of Operation. type code uint64 const ( // Function codes for KIMD/KLMD, from Figure 7-207. sha3_224 code = 32 sha3_256 code = 33 sha3_384 code = 34 sha3_512 code = 35 shake_128 code = 36 shake_256 code = 37 nopad = 0x100 ) // kimd is a wrapper...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
Back to Top