Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1201 - 1210 of 1,408 for ison (0.04 seconds)

  1. cmd/storage-rest-server.go

    		// as the peer might be coming up and trying to read format.json
    		// or create format.json
    		return true
    	}
    
    	storedDiskID, err := s.getStorage().GetDiskID()
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return false
    	}
    
    	if diskID != storedDiskID {
    		s.writeErrorResponse(w, errDiskStale)
    		return false
    	}
    
    	// If format.json is available and request sent the right disk-id, we allow the request
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  2. fastapi/security/oauth2.py

        for an OAuth2 password flow.
    
        The OAuth2 specification dictates that for a password flow the data should be
        collected using form data (instead of JSON) and that it should have the specific
        fields `username` and `password`.
    
        All the initialization parameters are extracted from the request.
    
        Read more about it in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/query-param-models.md

    例えば、クライアントがクエリパラメータ `tool` に、値 `plumbus` を設定して送ろうとすると:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    クエリパラメータ `tool` が許可されていないことを伝える**エラー**レスポンスが返されます。
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus"
            }
        ]
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. docs/sts/client-grants.md

    | *Valid Range* | *Minimum value of 900. Maximum value of 31536000.* |
    | *Required*    | *No*                                               |
    
    ### Policy
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/cookie-param-models.md

    例えば、クライアントがクッキー `santa_tracker` を `good-list-please` という値で送ろうとすると、`santa_tracker` という <dfn title="サンタはクッキー不足を良しとしません。🎅 はい、クッキージョークはこれでおしまい。">クッキーが許可されていない</dfn> ことを通知する**エラー**レスポンスが返されます:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["cookie", "santa_tracker"],
                "msg": "Extra inputs are not permitted",
                "input": "good-list-please",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

            assertTrue(future.isCancelled());
            if (future.wasInterrupted()) {
              // We were cancelled, it is possible that setFuture could have succeeded too.
              assertThat(numSuccessfulSetCalls.get()).isIn(Range.closed(1, 2));
            } else {
              assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
            }
          } else {
            assertThat(numSuccessfulSetCalls.get()).isEqualTo(1);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/websockets.md

    ///
    
    ## 等待消息并发送消息 { #await-for-messages-and-send-messages }
    
    在您的 WebSocket 路由中,您可以使用 `await` 等待消息并发送消息。
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    您可以接收和发送二进制、文本和 JSON 数据。
    
    ## 尝试一下 { #try-it }
    
    将代码放在 `main.py`,然后运行你的应用程序:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/dataclasses.md

    4. `Author` dataclass 被用作 `response_model` 參數。
    5. 你可以將其他標準型別註記與 dataclass 一起用作請求本文。
    
       在此例中,它是 `Item` dataclass 的清單。
    6. 這裡我們回傳一個字典,其中的 `items` 是一個 dataclass 清單。
    
       FastAPI 仍能將資料<dfn title="將資料轉換成可傳輸的格式">序列化</dfn>為 JSON。
    7. 這裡 `response_model` 使用的是「`Author` dataclass 的清單」這種型別註記。
    
       同樣地,你可以把 `dataclasses` 與標準型別註記組合使用。
    8. 注意這個「路徑操作函式」使用的是一般的 `def` 而非 `async def`。
    
       一如往常,在 FastAPI 中你可以視需要混用 `def` 與 `async def`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  9. docs/tr/docs/advanced/websockets.md

    WebSocket route'unuzda mesajları `await` edebilir ve mesaj gönderebilirsiniz.
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    Binary, text ve JSON verisi alıp gönderebilirsiniz.
    
    ## Deneyin { #try-it }
    
    Kodunuzu `main.py` dosyasına koyun ve ardından uygulamanızı çalıştırın:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            for (Long count : statsAfter.values()) {
                assertEquals(Long.valueOf(0), count, "All statistics should be 0 after reset");
            }
        }
    
        @Test
        @DisplayName("Test JSON logging toggle")
        void testJsonLoggingToggle() {
            logger.setJsonLoggingEnabled(true);
            logger.logAuthentication(true, "user", "DOMAIN", "192.168.1.1");
    
            logger.setJsonLoggingEnabled(false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top