Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 1,943 for Responses (0.08 seconds)

  1. CHANGELOG/CHANGELOG-1.7.md

    * The `emptyDir.sizeLimit` field is now correctly omitted from API requests and responses when unset. ([#50163](https://github.com/kubernetes/kubernetes/pull/50163), [@jingxu97](https://github.com/jingxu97))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 308.7K bytes
    - Click Count (1)
  2. docs/zh/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image01.png">
    
    并且两个模型都会用于交互式 API 文档:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 其他返回类型注解 { #other-return-type-annotations }
    
    有些情况下你会返回一些不是有效 Pydantic 字段的内容,并在函数上做了相应注解,只是为了获得工具链(编辑器、mypy 等)的支持。
    
    ### 直接返回 Response { #return-a-response-directly }
    
    最常见的情况是[直接返回 Response,详见进阶文档](../advanced/response-directly.md)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image01.png">
    
    而且兩個模型都會用在互動式 API 文件中:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 其他回傳型別註解 { #other-return-type-annotations }
    
    有時你回傳的東西不是有效的 Pydantic 欄位,你仍會在函式上加上註解,只為了獲得工具(編輯器、mypy 等)提供的支援。
    
    ### 直接回傳 Response { #return-a-response-directly }
    
    最常見的情況是[直接回傳 Response(在進階文件中稍後會解釋)](../advanced/response-directly.md)。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/response-model.md

    ### Doğrudan Response Döndürmek { #return-a-response-directly }
    
    En yaygın durum, [ileri seviye dokümanlarda daha sonra anlatıldığı gibi doğrudan bir Response döndürmektir](../advanced/response-directly.md).
    
    {* ../../docs_src/response_model/tutorial003_02_py310.py hl[8,10:11] *}
    
    Bu basit durum FastAPI tarafından otomatik olarak ele alınır; çünkü dönüş tipi annotation’ı `Response` class’ıdır (veya onun bir subclass’ı).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_02_py310.py hl[8,10:11] *}
    
    このシンプルなケースは、戻り値の型アノテーションが `Response` のクラス(またはサブクラス)であるため、FastAPIが自動的に処理します。
    
    また `RedirectResponse` と `JSONResponse` の両方は `Response` のサブクラスなので、ツールも型アノテーションが正しいとして問題にしません。
    
    ### `Response`のサブクラスをアノテーションする { #annotate-a-response-subclass }
    
    型アノテーションで `Response` のサブクラスを使うこともできます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

        }
    
        String response2Body;
        try (Response response2 = client.newCall(request).execute()) {
          if (!response2.isSuccessful()) throw new IOException("Unexpected code " + response2);
    
          response2Body = response2.body().string();
          System.out.println("Response 2 response:          " + response2);
          System.out.println("Response 2 cache response:    " + response2.cacheResponse());
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 2.4K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/response-model.md

    E as ferramentas também ficarão felizes porque `RedirectResponse` e ​​`JSONResponse` são subclasses de `Response`, então a anotação de tipo está correta.
    
    ### Anote uma subclasse de Response { #annotate-a-response-subclass }
    
    Você também pode usar uma subclasse de `Response` na anotação de tipo:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/response-model.md

    І інструменти також будуть задоволені, бо і `RedirectResponse`, і `JSONResponse` є підкласами `Response`, отже анотація типу коректна.
    
    ### Анотувати підклас Response { #annotate-a-response-subclass }
    
    Ви також можете використати підклас `Response` в анотації типу:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/response-model.md

    И инструменты тоже будут довольны, потому что и `RedirectResponse`, и `JSONResponse` являются подклассами `Response`, так что аннотация типа корректна.
    
    ### Аннотировать подкласс Response { #annotate-a-response-subclass }
    
    Вы также можете использовать подкласс `Response` в аннотации типа:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                response.readBytesWireFormat(buffer1, 0);
                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
    
                // Second read - should update values
                byte[] buffer2 = createValidWriteResponse(2048, 1024);
                response.readBytesWireFormat(buffer2, 0);
                assertEquals(2048, response.getCount());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
Back to Top