Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 850 for tutoriel (0.05 seconds)

  1. docs/ko/docs/how-to/custom-request-and-route.md

    ## 예외 핸들러에서 요청 바디 접근하기 { #accessing-the-request-body-in-an-exception-handler }
    
    /// tip | 팁
    
    같은 문제를 해결하려면 `RequestValidationError`에 대한 커스텀 핸들러에서 `body`를 사용하는 편이 아마 훨씬 더 쉽습니다([오류 처리하기](../tutorial/handling-errors.md#use-the-requestvalidationerror-body)).
    
    하지만 이 예시도 여전히 유효하며, 내부 컴포넌트와 상호작용하는 방법을 보여줍니다.
    
    ///
    
    같은 접근 방식을 사용해 예외 핸들러에서 요청 바디에 접근할 수도 있습니다.
    
    필요한 것은 `try`/`except` 블록 안에서 요청을 처리하는 것뿐입니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. docs/uk/docs/advanced/additional-responses.md

    {* ../../docs_src/additional_responses/tutorial003_py310.py hl[20:31] *}
    
    Усе це буде поєднано та включено до вашого OpenAPI і показано в документації API:
    
    <img src="/img/tutorial/additional-responses/image01.png">
    
    ## Комбінуйте попередньо визначені та власні відповіді { #combine-predefined-responses-and-custom-ones }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Sets.java

       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated. Instead,
       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/testing.md

    /// tip
    
    If you want to call `async` functions in your tests apart from sending requests to your FastAPI application (e.g. asynchronous database functions), have a look at the [Async Tests](../advanced/async-tests.md) in the advanced tutorial.
    
    ///
    
    ## Separating tests { #separating-tests }
    
    In a real application, you probably would have your tests in a different file.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  5. docs/ko/docs/advanced/dataclasses.md

    `response_model` 매개변수에서도 `dataclasses`를 사용할 수 있습니다:
    
    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    dataclass는 자동으로 Pydantic dataclass로 변환됩니다.
    
    이렇게 하면 해당 스키마가 API docs 사용자 인터페이스에 표시됩니다:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## 중첩 데이터 구조에서 Dataclasses 사용하기 { #dataclasses-in-nested-data-structures }
    
    `dataclasses`를 다른 타입 애너테이션과 조합해 중첩 데이터 구조를 만들 수도 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/openapi-webhooks.md

    ### ドキュメントの確認 { #check-the-docs }
    
    アプリを起動し、[http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) にアクセスします。
    
    ドキュメントには通常の *path operations* に加えて、**webhooks** も表示されます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  7. docs/es/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    También incluye qué cambió, cómo las validaciones ahora son más correctas y estrictas, posibles consideraciones, etc.
    
    Puedes leerla para entender mejor qué cambió.
    
    ## Tests { #tests }
    
    Asegúrate de tener [tests](../tutorial/testing.md) para tu app y de ejecutarlos en integración continua (CI).
    
    Así podrás hacer la actualización y asegurarte de que todo sigue funcionando como esperas.
    
    ## `bump-pydantic` { #bump-pydantic }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/how-to/custom-request-and-route.md

    但由於我們修改了 `GzipRequest.body`,在 **FastAPI** 需要讀取本文時,請求本文會自動解壓縮。
    
    ## 在例外處理器中存取請求本文 { #accessing-the-request-body-in-an-exception-handler }
    
    /// tip
    
    要解決相同問題,使用針對 `RequestValidationError` 的自訂處理器來讀取 `body` 通常更簡單([處理錯誤](../tutorial/handling-errors.md#use-the-requestvalidationerror-body))。
    
    但本範例仍然有效,並示範了如何與內部元件互動。
    
    ///
    
    我們也可以用同樣的方法,在例外處理器中存取請求本文。
    
    我們只需要在 `try`/`except` 區塊中處理請求即可:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial005_py310.py hl[6] *}
    
    If you open the automatic API docs, your extension will show up at the bottom of the specific *path operation*.
    
    <img src="/img/tutorial/path-operation-advanced-configuration/image01.png">
    
    And if you see the resulting OpenAPI (at `/openapi.json` in your API), you will see your extension as part of the specific *path operation* too:
    
    ```JSON hl_lines="22"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    But declaring the type is encouraged as that way your editor will know what will be passed as the parameter `commons`, and then it can help you with code completion, type checks, etc:
    
    <img src="/img/tutorial/dependencies/image02.png">
    
    ## Shortcut { #shortcut }
    
    But you see that we are having some code repetition here, writing `CommonQueryParams` twice:
    
    //// tab | Python 3.10+
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top