Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 866 for fdocs3 (0.2 sec)

  1. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ```Python hl_lines="6  11"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ### 触发异常
    
    路径装饰器依赖项与正常的依赖项一样,可以 `raise` 异常:
    
    ```Python hl_lines="8  13"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ### 返回值
    
    无论路径装饰器依赖项是否返回值,路径操作都不会使用这些值。
    
    因此,可以复用在其他位置使用过的、(能返回值的)普通依赖项,即使没有使用这个值,也会执行该依赖项:
    
    ```Python hl_lines="9  14"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/body-multiple-params.md

    ## `Path`, `Query` 및 본문 매개변수 혼합
    
    당연하게 `Path`, `Query` 및 요청 본문 매개변수 선언을 자유롭게 혼합해서 사용할 수 있고, **FastAPI**는 어떤 동작을 할지 압니다.
    
    또한, 기본 값을 `None`으로 설정해 본문 매개변수를 선택사항으로 선언할 수 있습니다.
    
    ```Python hl_lines="19-21"
    {!../../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    !!! note "참고"
        이 경우에는 본문으로 부터 가져온 `	item`은 기본값이 `None`이기 때문에, 선택사항이라는 점을 유의해야 합니다.
    
    ## 다중 본문 매개변수
    
    이전 예제에서 보듯이, *경로 작동*은 아래와 같이 `Item` 속성을 가진 JSON 본문을 예상합니다:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:48:31 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.pom

          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <configuration>
              <links>
                <link>http://java.sun.com/j2ee/1.4/docs/api</link>
                <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
                <link>http://jakarta.apache.org/commons/collections/apidocs-COLLECTIONS_3_0/</link>
                <link>http://jakarta.apache.org/commons/dbcp/apidocs/</link>
    Plain Text
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 2.2K bytes
    - Viewed (0)
  4. docs/em/docs/advanced/websockets.md

    🏭 👆 🔜 ✔️ 1️⃣ 🎛 🔛.
    
    ✋️ ⚫️ 🙅 🌌 🎯 🔛 💽-🚄 *️⃣ &amp; ✔️ 👷 🖼:
    
    ```Python hl_lines="2  6-38  41-43"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    ## ✍ `websocket`
    
    👆 **FastAPI** 🈸, ✍ `websocket`:
    
    ```Python hl_lines="1  46-47"
    {!../../../docs_src/websockets/tutorial001.py!}
    ```
    
    !!! note "📡 ℹ"
        👆 💪 ⚙️ `from starlette.websockets import WebSocket`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/first-steps.md

    把下面的示例代码复制到 `main.py`:
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/security/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            尽可能选择使用 `Annotated` 的版本。
    
        ```Python
        {!> ../../../docs_src/security/tutorial001.py!}
        ```
    
    ## 运行
    
    !!! info "说明"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/async-tests.md

    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    The file `main.py` would have:
    
    ```Python
    {!../../../docs_src/async_tests/main.py!}
    ```
    
    The file `test_main.py` would have the tests for `main.py`, it could look like this now:
    
    ```Python
    {!../../../docs_src/async_tests/test_main.py!}
    ```
    
    ## Run it
    
    You can run your tests as usual via:
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/security/oauth2-jwt.md

    &amp; ➕1️⃣ 1️⃣ 🔓 &amp; 📨 👩‍💻.
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="7  48  55-56  59-60  69-75"
        {!> ../../../docs_src/security/tutorial004.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="6  47  54-55  58-59  68-74"
        {!> ../../../docs_src/security/tutorial004_py310.py!}
        ```
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/encoder.md

    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="5  22"
        {!> ../../../docs_src/encoder/tutorial001.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="4  21"
        {!> ../../../docs_src/encoder/tutorial001_py310.py!}
        ```
    
    👉 🖼, ⚫️ 🔜 🗜 Pydantic 🏷 `dict`, &amp; `datetime` `str`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. README.md

    * The _path_ `/items/{item_id}` has an optional `str` _query parameter_ `q`.
    
    ### Interactive API docs
    
    Now go to <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/cors.md

    # CORS (Cross-Origin Resource Sharing)
    
    <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">Понятие CORS или "Cross-Origin Resource Sharing"</a> относится к ситуациям, при которых запущенный в браузере фронтенд содержит JavaScript-код, который взаимодействует с бэкендом, находящимся на другом "источнике" ("origin").
    
    ## Источник
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jun 22 14:29:56 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top