Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 637 for CONSOLE (0.35 seconds)

  1. docs/zh-hant/docs/advanced/sub-applications.md

    在此範例中,它會被掛載在路徑 `/subapi`:
    
    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 19] *}
    
    ### 檢查自動 API 文件 { #check-the-automatic-api-docs }
    
    現在,執行 `fastapi` 指令:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    然後開啟位於 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) 的文件。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    ## 安裝 `PyJWT` { #install-pyjwt }
    
    我們需要安裝 `PyJWT` 才能在 Python 中產生與驗證 JWT 權杖。
    
    請先建立並啟用一個[虛擬環境](../../virtual-environments.md),然後安裝 `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    /// info | 說明
    
    如果你打算使用像 RSA 或 ECDSA 這類的數位簽章演算法,應該安裝帶有加密函式庫相依的 `pyjwt[crypto]`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/security/oauth2-jwt.md

    ## 安装 `PyJWT` { #install-pyjwt }
    
    我们需要安装 `PyJWT`,以便在 Python 中生成和校验 JWT 令牌。
    
    请确保创建并激活一个[虚拟环境](../../virtual-environments.md),然后安装 `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    /// info | 信息
    
    如果你计划使用类似 RSA 或 ECDSA 的数字签名算法,你应该安装加密库依赖项 `pyjwt[crypto]`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. docs/zh/docs/deployment/server-workers.md

    ///
    
    ## 多个工作进程 { #multiple-workers }
    
    您可以使用 `--workers` 命令行选项来启动多个工作进程:
    
    //// tab | `fastapi`
    
    如果您使用 `fastapi` 命令:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> run --workers 4 <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting production server 🚀
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8K bytes
    - Click Count (0)
  5. internal/config/identity/openid/providercfg.go

    	"github.com/minio/minio/internal/config/identity/openid/provider"
    	xhttp "github.com/minio/minio/internal/http"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    type providerCfg struct {
    	// Used for user interface like console
    	DisplayName string
    
    	JWKS struct {
    		URL *xnet.URL
    	}
    	URL                *xnet.URL
    	ClaimPrefix        string
    	ClaimName          string
    	ClaimUserinfo      bool
    	RedirectURI        string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/async-tests.md

    檔案 `test_main.py` 會包含針對 `main.py` 的測試,現在可能像這樣:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py *}
    
    ## 執行 { #run-it }
    
    如常執行測試:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ---> 100%
    ```
    
    </div>
    
    ## 詳解 { #in-detail }
    
    標記 `@pytest.mark.anyio` 告訴 pytest 這個測試函式應以非同步方式執行:
    
    {* ../../docs_src/async_tests/app_a_py310/test_main.py hl[7] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/request-forms.md

    # 表單資料 { #form-data }
    
    當你需要接收表單欄位而不是 JSON 時,可以使用 `Form`。
    
    /// info
    
    要使用表單,請先安裝 [`python-multipart`](https://github.com/Kludex/python-multipart)。
    
    請先建立並啟用一個[虛擬環境](../virtual-environments.md),然後再安裝,例如:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    ## 匯入 `Form` { #import-form }
    
    從 `fastapi` 匯入 `Form`:
    
    {* ../../docs_src/request_forms/tutorial001_an_py310.py hl[3] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            // Test printStackTrace doesn't throw exception
            DictionaryExpiredException exception = new DictionaryExpiredException();
    
            try {
                // Redirect to ByteArrayOutputStream to avoid console output
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                java.io.PrintStream ps = new java.io.PrintStream(baos);
                exception.printStackTrace(ps);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/templates.md

    ## Install dependencies { #install-dependencies }
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and install `jinja2`:
    
    <div class="termy">
    
    ```console
    $ pip install jinja2
    
    ---> 100%
    ```
    
    </div>
    
    ## Using `Jinja2Templates` { #using-jinja2templates }
    
    * Import `Jinja2Templates`.
    * Create a `templates` object that you can reuse later.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/sub-applications.md

    この例では、パス `/subapi` にマウントされます:
    
    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[11, 19] *}
    
    ### 自動 API ドキュメントの確認 { #check-the-automatic-api-docs }
    
    では、`fastapi` コマンドを実行します:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    そして、[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) を開きます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.5K bytes
    - Click Count (0)
Back to Top