Search Options

Results per page
Sort
Preferred Languages
Advance

Results 6991 - 7000 of 7,200 for RETURN (0.08 sec)

  1. docs/zh/docs/advanced/settings.md

    但是,每次执行以下操作:
    
    ```Python
    Settings()
    ```
    
    都会创建一个新的 `Settings` 对象,并且在创建时会再次读取 `.env` 文件。
    
    如果依赖项函数只是这样的:
    
    ```Python
    def get_settings():
        return Settings()
    ```
    
    我们将为每个请求创建该对象,并且将在每个请求中读取 `.env` 文件。 ⚠️
    
    但是,由于我们在顶部使用了 `@lru_cache` 装饰器,因此只有在第一次调用它时,才会创建 `Settings` 对象一次。 ✔️
    
    {* ../../docs_src/settings/app03_an_py39/main.py hl[1,11] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/bucket/replication/README.md

    Status of delete marker replication can be viewed by doing a GET/HEAD on the object version - it will return a `X-Minio-Replication-DeleteMarker-Status` header and http response code of `405`. In the case of permanent deletes, if the delete replication is pending or failed to propagate to the target cluster, GET/HEAD will return additional `X-Minio-Replication-Delete-Status` header and a http response code of `405`.
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. api/maven-api-plugin/src/main/mdo/plugin.mdo

          <codeSegments>
            <codeSegment>
              <version>2.0.0+</version>
              <code><![CDATA[
        public String getPluginLookupKey() {
            return groupId + ":" + artifactId;
        }
    
        public String getId() {
            return groupId + ":" + artifactId + ":" + version;
        }
    
              ]]></code>
            </codeSegment>
          </codeSegments>
        </class>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            verify(spy).size();
            verify(spy).encode(buffer, 0);
            verify(spy).decode(buffer, 0, 8);
            // Note: Cannot verify toString() with Mockito - it's a special method
    
            // Verify return values
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, level);
            assertEquals(8, size);
            assertEquals(8, encoded);
            assertEquals(8, decoded);
            assertNotNull(str);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

          }
    
          val keyManager = newKeyManager(null, heldCertificate, *(intermediates ?: emptyArray()))
          val trustManager = newTrustManager(null, trustedCertificates, immutableInsecureHosts)
          return HandshakeCertificates(keyManager, trustManager)
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/dependencies/sub-dependencies.md

    高度なシナリオでは、「キャッシュされた」値を使うのではなく、同じリクエストの各ステップ(おそらく複数回)で依存関係を呼び出す必要があることがわかっている場合、`Depens`を使用する際に、`use_cache=False`というパラメータを設定することができます。
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    
    ## まとめ
    
    ここで使われている派手な言葉は別にして、**依存性注入** システムは非常にシンプルです。
    
    *path operation関数*と同じように見えるただの関数です。
    
    しかし、それでも非常に強力で、任意の深くネストされた依存関係「グラフ」(ツリー)を宣言することができます。
    
    /// tip | 豆知識
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/ja/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # ハンバーガーを作成するために非同期処理を実行
        return burgers
    ```
    
    ...`def` のかわりに:
    
    ```Python hl_lines="2"
    # 非同期ではない
    def get_sequential_burgers(number: int):
        # ハンバーガーを作成するためにシーケンシャルな処理を実行
        return burgers
    ```
    `async def` を使用すると、Pythonにその関数内で `await` 式 (その関数の実行を「一時停止⏸」し、結果が戻るまで他の何かを実行🔀する) を認識しなければならないと伝えることができます。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

        }
    
        @Test
        public void testCanCacheDirectoryListing() {
            String directoryPath = "/test/dir";
            Smb2LeaseKey leaseKey = new Smb2LeaseKey();
    
            // No cache entry - should return false
            assertFalse(directoryLeaseManager.canCacheDirectoryListing(directoryPath));
    
            // Create cache entry with read lease
            when(baseLeaseManager.requestLease(anyString(), anyInt())).thenReturn(leaseKey);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

     * code shouldn't use these, they're necessary for clients migrating from OkHttp 3.x and this test
     * ensures the symbols remain available and with the expected parameter and return types.
     */
    @Suppress(
      "DEPRECATION_ERROR",
      "UNUSED_VALUE",
      "UNUSED_VARIABLE",
      "VARIABLE_WITH_REDUNDANT_INITIALIZER",
    )
    class KotlinDeprecationErrorTest {
      private val factory = TestValueFactory()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}
    
    /// tip | Tipp
    
    Sie können den Wert `"lenet"` außerdem mittels `ModelName.lenet.value` abrufen.
    
    ///
    
    #### *Enumeration-Member* zurückgeben { #return-enumeration-members }
    
    Sie können *Enum-Member* in ihrer *Pfadoperation* zurückgeben, sogar verschachtelt in einem JSON-Body (z. B. als `dict`).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top