Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 849 for Tutorial (0.15 seconds)

  1. guava/src/com/google/common/collect/Lists.java

       * use the {@code ArrayList} {@linkplain ArrayList#ArrayList() 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 16:38:09 GMT 2026
    - 42.5K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/behind-a-proxy.md

    你可以在 [http://127.0.0.1:8000/docs](http://127.0.0.1:8000/docs) 查看:
    
    <img src="/img/tutorial/behind-a-proxy/image01.png">
    
    但如果我们在“官方”URL(代理端口为 `9999`)的 `/api/v1/docs` 访问文档界面,它就能正常工作!🎉
    
    你可以在 [http://127.0.0.1:9999/api/v1/docs](http://127.0.0.1:9999/api/v1/docs) 查看:
    
    <img src="/img/tutorial/behind-a-proxy/image02.png">
    
    完全符合我们的预期。✔️
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/settings.md

    你可以把这些设置放在另一个模块文件中,就像你在[更大的应用 - 多个文件](../tutorial/bigger-applications.md)中看到的那样。
    
    例如,可以有一个 `config.py` 文件:
    
    {* ../../docs_src/settings/app01_py310/config.py *}
    
    然后在 `main.py` 文件中使用它:
    
    {* ../../docs_src/settings/app01_py310/main.py hl[3,11:13] *}
    
    /// tip | 提示
    
    你还需要一个 `__init__.py` 文件,就像你在[更大的应用 - 多个文件](../tutorial/bigger-applications.md)中看到的那样。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/bigger-applications.md

    * 同样适用于 `app/routers/users.py`,它是另一个子模块:`app.routers.users`。
    * 还有一个子目录 `app/internal/` 包含另一个 `__init__.py` 文件,因此它是又一个「Python 子包」:`app.internal`。
    * `app/internal/admin.py` 是另一个子模块:`app.internal.admin`。
    
    <img src="/img/tutorial/bigger-applications/package.drawio.svg">
    
    带有注释的同一文件结构:
    
    ```bash
    .
    ├── app                  # 「app」是一个 Python 包
    │   ├── __init__.py      # 这个文件使「app」成为一个 Python 包
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  5. docs/en/docs/index.md

    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    For a more complete example including more features, see the <a href="https://fastapi.tiangolo.com/tutorial/">Tutorial - User Guide</a>.
    
    **Spoiler alert**: the tutorial - user guide includes:
    
    * Declaration of **parameters** from other different places as: **headers**, **cookies**, **form fields** and **files**.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  6. 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)
  7. docs/zh-hant/docs/tutorial/schema-extra-example.md

    這裡我們傳入 `examples`,其中包含 `Body()` 預期資料的一個範例:
    
    {* ../../docs_src/schema_extra_example/tutorial003_an_py310.py hl[22:29] *}
    
    ### 文件 UI 中的範例 { #example-in-the-docs-ui }
    
    使用以上任一方法,在 `/docs` 中看起來會像這樣:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ### `Body` 搭配多個 `examples` { #body-with-multiple-examples }
    
    當然,你也可以傳入多個 `examples`:
    
    {* ../../docs_src/schema_extra_example/tutorial004_an_py310.py hl[23:38] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/index.md

    # 자습서 - 사용자 안내서 { #tutorial-user-guide }
    
    이 자습서는 **FastAPI**의 대부분의 기능을 단계별로 사용하는 방법을 보여줍니다.
    
    각 섹션은 이전 섹션을 바탕으로 점진적으로 구성되지만, 주제를 분리한 구조로 되어 있어 특정 API 요구사항을 해결하기 위해 원하는 섹션으로 바로 이동할 수 있습니다.
    
    또한 나중에 참고 자료로도 사용할 수 있도록 만들어졌으므로, 필요할 때 다시 돌아와 정확히 필요한 내용을 확인할 수 있습니다.
    
    ## 코드 실행하기 { #run-the-code }
    
    모든 코드 블록은 복사해서 바로 사용할 수 있습니다(실제로 테스트된 Python 파일입니다).
    
    예제 중 어떤 것이든 실행하려면, 코드를 `main.py` 파일에 복사하고 다음으로 `fastapi dev`를 시작하세요:
    
    <div class="termy">
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/settings.md

    你也可以把這些設定放在另一個模組檔案中,就像在[更大的應用程式 - 多個檔案](../tutorial/bigger-applications.md)所示。
    
    例如,你可以有一個 `config.py` 檔案如下:
    
    {* ../../docs_src/settings/app01_py310/config.py *}
    
    然後在 `main.py` 檔案中使用它:
    
    {* ../../docs_src/settings/app01_py310/main.py hl[3,11:13] *}
    
    /// tip
    
    你也需要一個 `__init__.py` 檔案,詳見[更大的應用程式 - 多個檔案](../tutorial/bigger-applications.md)。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. docs/ja/docs/how-to/extending-openapi.md

    {* ../../docs_src/extending_openapi/tutorial001_py310.py hl[29] *}
    
    ### 確認 { #check-it }
    
    [http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc) にアクセスすると、カスタムロゴ(この例では **FastAPI** のロゴ)が使われていることが確認できます:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 3.9K bytes
    - Click Count (0)
Back to Top