Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1811 - 1820 of 1,967 for respond (0.08 seconds)

  1. docs/ja/docs/how-to/separate-openapi-schemas.md

    しかし同じモデルを次のように出力として使う場合:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py hl[19] *}
    
    ...`description` にデフォルト値があるため、そのフィールドに何も返さなくても、その **デフォルト値** が入ります。
    
    ### 出力のレスポンスデータ { #model-for-output-response-data }
    
    ドキュメントから試してレスポンスを確認すると、コードでは一方の `description` フィールドに何も追加していないにもかかわらず、JSON レスポンスにはデフォルト値(`null`)が含まれています:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image02.png">
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/extra-models.md

    ## 模型列表 { #list-of-models }
    
    同样地,你可以声明由对象列表构成的响应。
    
    为此,请使用标准的 Python `list`:
    
    {* ../../docs_src/extra_models/tutorial004_py310.py hl[18] *}
    
    ## 任意 `dict` 的响应 { #response-with-arbitrary-dict }
    
    你也可以使用普通的任意 `dict` 来声明响应,只需声明键和值的类型,无需使用 Pydantic 模型。
    
    如果你事先不知道有效的字段/属性名(Pydantic 模型需要预先知道字段)时,这很有用。
    
    此时,可以使用 `dict`:
    
    {* ../../docs_src/extra_models/tutorial005_py310.py hl[6] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  3. cmd/storage-rest-client.go

    		if resp.Update != nil {
    			select {
    			case <-ctx.Done():
    			case updates <- *resp.Update:
    			}
    		}
    		if resp.Final != nil {
    			final = resp.Final
    		}
    		// We can't reuse the response since it is sent upstream.
    		return nil
    	})
    	if err != nil {
    		return cache, toStorageErr(err)
    	}
    	if final == nil {
    		return cache, errors.New("no final cache")
    	}
    	return *final, nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  4. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun headers ()Lokhttp3/Headers;
    	public final fun method ()Ljava/lang/String;
    	public final fun path ()Ljava/lang/String;
    	public final fun response ()Lokhttp3/mockwebserver/MockResponse;
    }
    
    public final class okhttp3/mockwebserver/QueueDispatcher : okhttp3/mockwebserver/Dispatcher {
    	public fun <init> ()V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/cache/CacheLoader.java

        // Cache implementors may want to catch it but should not need to be able to throw it.
        UnsupportedLoadingOperationException() {}
      }
    
      /**
       * Thrown to indicate that an invalid response was returned from a call to {@link CacheLoader}.
       *
       * @since 11.0
       */
      public static final class InvalidCacheLoadException extends RuntimeException {
        public InvalidCacheLoadException(String message) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

            setField(session, "digest", null);
            when(transport.isSigningEnforced()).thenReturn(true);
            assertTrue(session.isSignatureSetupRequired());
    
            // Case 3: not enforced, rely on negotiate response flag
            when(transport.isSigningEnforced()).thenReturn(false);
            jcifs.internal.SmbNegotiationResponse nego = mock(jcifs.internal.SmbNegotiationResponse.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. cmd/handler-api.go

    				return
    			}
    			f.ServeHTTP(w, r)
    		case <-r.Context().Done():
    			globalHTTPStats.addRequestsInQueue(-1)
    			// When the client disconnects before getting the S3 handler
    			// status code response, set the status code to 499 so this request
    			// will be properly audited and traced.
    			w.WriteHeader(499)
    		default:
    			globalHTTPStats.addRequestsInQueue(-1)
    			if contextCanceled(ctx) {
    				w.WriteHeader(499)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  8. docs/ja/docs/advanced/path-operation-advanced-configuration.md

                    "summary": "Read Items",
                    "operationId": "read_items_items__get",
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {
                                "application/json": {
                                    "schema": {}
                                }
                            }
                        }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/handling-errors.md

    У цьому прикладі, коли клієнт запитує елемент за ID, якого не існує, згенеруйте виключення з кодом статусу `404`:
    
    {* ../../docs_src/handling_errors/tutorial001_py310.py hl[11] *}
    
    ### Отримана відповідь { #the-resulting-response }
    
    Якщо клієнт робить запит за шляхом `http://example.com/items/foo` (де `item_id` `"foo"`), він отримає код статусу HTTP 200 і JSON відповідь:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  10. docs/zh/docs/advanced/path-operation-advanced-configuration.md

                    "summary": "Read Items",
                    "operationId": "read_items_items__get",
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {
                                "application/json": {
                                    "schema": {}
                                }
                            }
                        }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.7K bytes
    - Click Count (0)
Back to Top