Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 491 for quiser (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

        }
    
        @Override
        public Optional<Boolean> showVersion() {
            return returnFirstPresentOrEmpty(Options::showVersion);
        }
    
        @Override
        public Optional<Boolean> quiet() {
            return returnFirstPresentOrEmpty(Options::quiet);
        }
    
        @Override
        public Optional<Boolean> verbose() {
            return returnFirstPresentOrEmpty(Options::verbose);
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/bucket-replication-stats.go

    	wlock sync.RWMutex // mutex for active workers
    
    	movingAvgTicker *time.Ticker // Ticker for calculating moving averages
    	wTimer          *time.Ticker // ticker for calculating active workers
    	qTimer          *time.Ticker // ticker for calculating queue stats
    }
    
    func (r *ReplicationStats) trackEWMA() {
    	for {
    		select {
    		case <-r.movingAvgTicker.C:
    			r.updateMovingAvg()
    		case <-GlobalContext.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/security/get-current-user.md

    ## 获取用户
    
    `get_current_user` 使用创建的(伪)工具函数,该函数接收 `str` 类型的令牌,并返回 Pydantic 的 `User` 模型:
    
    ```Python hl_lines="19-22  26-27"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    ## 注入当前用户
    
    在*路径操作* 的 `Depends` 中使用 `get_current_user`:
    
    ```Python hl_lines="31"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    注意,此处把 `current_user` 的类型声明为 Pydantic 的 `User` 模型。
    
    这有助于在函数内部使用代码补全和类型检查。
    
    /// tip | "提示"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. docs/pt/docs/deployment/docker.md

    ### Contêineres com Múltiplos Processos e Casos Especiais
    
    Claro, existem **casos especiais** em que você pode querer ter um **contêiner** com um **gerenciador de processos Gunicorn** iniciando vários **processos trabalhadores Uvicorn** dentro.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

         */
        @Nonnull
        Optional<Boolean> showVersion();
    
        /**
         * Indicates whether to run in quiet mode.
         *
         * @return an {@link Optional} containing the boolean flag, or empty if not set
         */
        @Nonnull
        Optional<Boolean> quiet();
    
        /**
         * Indicates whether to run in verbose mode.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 22 14:53:58 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
            if (mavenOptions.showVersion().orElse(false)) {
                cmdAndArguments.add("--show-version");
            }
            if (mavenOptions.quiet().orElse(false)) {
                cmdAndArguments.add("--quiet");
            }
            if (mavenOptions.verbose().orElse(false)) {
                cmdAndArguments.add("--verbose");
            }
            if (mavenOptions.showErrors().orElse(false)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    👀 👈 👥 📣 🆎 `current_user` Pydantic 🏷 `User`.
    
    👉 🔜 ℹ 🇺🇲 🔘 🔢 ⏮️ 🌐 🛠️ &amp; 🆎 ✅.
    
    /// tip
    
    👆 5️⃣📆 💭 👈 📨 💪 📣 ⏮️ Pydantic 🏷.
    
    📥 **FastAPI** 🏆 🚫 🤚 😨 ↩️ 👆 ⚙️ `Depends`.
    
    ///
    
    /// check
    
    🌌 👉 🔗 ⚙️ 🏗 ✔ 👥 ✔️ 🎏 🔗 (🎏 "☑") 👈 🌐 📨 `User` 🏷.
    
    👥 🚫 🚫 ✔️ 🕴 1️⃣ 🔗 👈 💪 📨 👈 🆎 💽.
    
    ///
    
    ## 🎏 🏷
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/security/get-current-user.md

    `get_current_user` は作成した(偽物の)ユーティリティ関数を使って、 `str` としてトークンを受け取り、先ほどのPydanticの `User` モデルを返却します:
    
    ```Python hl_lines="19-22  26-27"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    ## 現在のユーザーの注入
    
    ですので、 `get_current_user` に対して同様に *path operation* の中で `Depends` を利用できます。
    
    ```Python hl_lines="31"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    Pydanticモデルの `User` として、 `current_user` の型を宣言することに注意してください。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/security/get-current-user.md

    ```
    
    ////
    
    ## Den Benutzer holen
    
    `get_current_user` wird eine von uns erstellte (gefakte) Hilfsfunktion verwenden, welche einen Token vom Typ `str` entgegennimmt und unser Pydantic-`User`-Modell zurückgibt:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="19-22  26-27"
    {!> ../../docs_src/security/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/get-current-user.md

    ///
    
    ```Python hl_lines="10"
    {!> ../../docs_src/security/tutorial001.py!}
    ```
    
    ////
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model
    
    First, let's create a Pydantic user model.
    
    The same way we use Pydantic to declare bodies, we can use it anywhere else:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="5  12-16"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top