Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,619 for targetOS (0.07 sec)

  1. docs/pt/docs/advanced/response-cookies.md

    Você também pode criar cookies ao retornar uma `Response` diretamente no seu código.
    
    Para fazer isso, você pode criar uma resposta como descrito em [Retornando uma Resposta Diretamente](response-directly.md){.internal-link target=_blank}.
    
    Então, defina os cookies nela e a retorne:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/response-cookies.md

    Sie können Cookies auch erstellen, wenn Sie eine `Response` direkt in Ihrem Code zurückgeben.
    
    Dazu können Sie eine Response erstellen, wie unter [Eine Response direkt zurückgeben](response-directly.md){.internal-link target=_blank} beschrieben.
    
    Setzen Sie dann Cookies darin und geben Sie sie dann zurück:
    
    ```Python hl_lines="10-12"
    {!../../docs_src/response_cookies/tutorial001.py!}
    ```
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. docs/zh/docs/async.md

    特别是,你可以直接使用 <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a> 来处理高级的并发用例,这些用例需要在自己的代码中使用更高级的模式。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/body-updates.md

    # 请求体 - 更新数据
    
    ## 用 `PUT` 更新数据
    
    更新数据请用 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTP `PUT`</a> 操作。
    
    把输入数据转换为以 JSON 格式存储的数据(比如,使用 NoSQL 数据库时),可以使用 `jsonable_encoder`。例如,把 `datetime` 转换为 `str`。
    
    ```Python hl_lines="30-35"
    {!../../docs_src/body_updates/tutorial001.py!}
    ```
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于更新数据的警告
    
    用 `PUT` 把数据项 `bar` 更新为以下内容时:
    
    ```Python
    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/response-status-code.md

    ///
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    /// info | "说明"
    
    `status_code` 还能接收 `IntEnum` 类型,比如 Python 的 <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>。
    
    ///
    
    它可以:
    
    * 在响应中返回状态码
    * 在 OpenAPI 概图(及用户界面)中存档:
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | "笔记"
    
    某些响应状态码表示响应没有响应体(参阅下一章)。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/extra-models.md

    在 OpenAPI 中可以使用 `anyOf` 定义。
    
    为此,请使用 Python 标准类型提示 <a href="https://docs.python.org/3/library/typing.html#typing.Union" class="external-link" target="_blank">`typing.Union`</a>:
    
    /// note | "笔记"
    
    定义 <a href="https://docs.pydantic.dev/latest/concepts/types/#unions" class="external-link" target="_blank">`Union`</a> 类型时,要把详细的类型写在前面,然后是不太详细的类型。下例中,更详细的 `PlaneItem` 位于 `Union[PlaneItem,CarItem]` 中的 `CarItem` 之前。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            }
            Map<String, Object> target = map;
            for (final Ingester ingester : ingestFactory.getIngesters()) {
                try {
                    target = ingester.process(target, accessResult);
                } catch (final Exception e) {
                    logger.warn("Failed to process Ingest[{}]", ingester.getClass().getSimpleName(), e);
                }
            }
            return target;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. docs/ko/docs/python-types.md

    ```
    
    /// info | "정보"
    
    Pydantic<에 대해 더 배우고 싶다면 <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">공식 문서</a>를 참고하세요.</a>
    
    ///
    
    **FastAPI**는 모두 Pydantic을 기반으로 되어 있습니다.
    
    이 모든 것이 실제로 어떻게 사용되는지에 대해서는 [자습서 - 사용자 안내서](tutorial/index.md){.internal-link target=_blank} 에서 더 많이 확인하실 수 있습니다.
    
    ## **FastAPI**에서의 타입 힌트
    
    **FastAPI**는 여러 부분에서 타입 힌트의 장점을 취하고 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. src/Make.dist

    # The -vv causes dist to print each build command as it runs.
    # go tool dist clean cleans all directories, not just this one,
    # but it's as close as we can get.
    
    # Default target (first).
    install:
    	go tool dist install -v
    
    verbose:
    	go tool dist install -vv
    
    clean:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Feb 08 20:26:47 UTC 2012
    - 553 bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/using-request-directly.md

    Como o **FastAPI** é na verdade o **Starlette** por baixo, com camadas de diversas funcionalidades por cima, você pode utilizar o objeto <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`</a> do Starlette diretamente quando precisar.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top