Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 1,083 for str (0.01 seconds)

  1. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals(pastExpiration, result.getExpiration());
                // toString should show negative remain time
                String str = result.toString();
                assertTrue(str.contains("remain="));
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/body-multiple-params.md

    ## 複数のボディパラメータとクエリ { #multiple-body-params-and-query }
    
    もちろん、ボディパラメータに加えて、必要に応じて追加のクエリパラメータを宣言することもできます。
    
    デフォルトでは、単数値はクエリパラメータとして解釈されるので、明示的に `Query` を追加する必要はなく、次のようにできます:
    
    ```Python
    q: str | None = None
    ```
    
    例えば:
    
    {* ../../docs_src/body_multiple_params/tutorial004_an_py310.py hl[28] *}
    
    /// info | 情報
    
    `Body`もまた、後述する `Query` や `Path` などと同様に、すべての追加検証パラメータとメタデータパラメータを持っています。
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    And it can return anything you want.
    
    In this case, this dependency expects:
    
    * An optional query parameter `q` that is a `str`.
    * An optional query parameter `skip` that is an `int`, and by default is `0`.
    * An optional query parameter `limit` that is an `int`, and by default is `100`.
    
    And then it just returns a `dict` containing those values.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. docs/ja/docs/environment-variables.md

    ///
    
    ## 型とバリデーション { #types-and-validation }
    
    これらの環境変数が扱えるのは**テキスト文字列**のみです。環境変数はPythonの外部にあり、他のプログラムやシステム全体(Linux、Windows、macOSなど異なるオペレーティングシステム間も)との互換性が必要になるためです。
    
    つまり、環境変数からPythonで読み取る**あらゆる値**は **`str`になり**、他の型への変換やバリデーションはコード内で行う必要があります。
    
    環境変数を使って**アプリケーション設定**を扱う方法については、[高度なユーザーガイド - Settings and Environment Variables](./advanced/settings.md)で詳しく学べます。
    
    ## `PATH`環境変数 { #path-environment-variable }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

        @Override
        protected SortedMap<String, String> delegate() {
          return delegate;
        }
      }
    
      private static String encode(String str) {
        return BaseEncoding.base64().encode(str.getBytes(UTF_8));
      }
    
      private static final Function<String, String> DECODE_FUNCTION =
          new Function<String, String>() {
            @Override
            public String apply(String input) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        public void test_evaluate_multipleParameterTypes() {
            final Map<String, Object> params = new HashMap<>();
            params.put("str", "hello");
            params.put("num", 42);
            params.put("bool", true);
            params.put("dbl", 3.14);
    
            assertEquals("hello", groovyEngine.evaluate("return str", params));
            assertEquals(42, groovyEngine.evaluate("return num", params));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/handling-errors.md

    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    When raising an `HTTPException`, you can pass any value that can be converted to JSON as the parameter `detail`, not only `str`.
    
    You could pass a `dict`, a `list`, etc.
    
    They are handled automatically by **FastAPI** and converted to JSON.
    
    ///
    
    ## Add custom headers { #add-custom-headers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            try {
                if (threadConfiguration.endsWith("C")) {
                    String str = threadConfiguration.substring(0, threadConfiguration.length() - 1);
                    float coreMultiplier = Float.parseFloat(str);
    
                    if (coreMultiplier <= 0.0f) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  9. docs/zh/docs/advanced/openapi-callbacks.md

    ### 回调路径表达式 { #the-callback-path-expression }
    
    回调*路径*支持包含发送给您的 API 的原始请求的部分的 [OpenAPI 3 表达式](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#key-expression)。
    
    本例中是 `str`:
    
    ```Python
    "{$callback_url}/invoices/{$request.body.id}"
    ```
    
    因此,如果您的 API 用户(外部开发者)发送请求到您的 API:
    
    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  10. docs/ja/docs/advanced/security/http-basic-auth.md

    より完全な例です。
    
    依存関係を使ってユーザー名とパスワードが正しいかを確認します。
    
    これには、Python 標準モジュール [`secrets`](https://docs.python.org/3/library/secrets.html) を用いてユーザー名とパスワードを検証します。
    
    `secrets.compare_digest()` は `bytes` か、ASCII 文字(英語の文字)のみを含む `str` を受け取る必要があります。つまり、`Sebastián` のように `á` を含む文字ではそのままでは動作しません。
    
    これに対処するため、まず `username` と `password` を UTF-8 でエンコードして `bytes` に変換します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.4K bytes
    - Click Count (0)
Back to Top