Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 135 for renderTo (0.86 sec)

  1. docs/ko/docs/advanced/custom-response.md

    만약 들여쓰기 및 포맷된 JSON을 반환하고 싶다면, `orjson.OPT_INDENT_2` 옵션을 사용할 수 있습니다.
    
    `CustomORJSONResponse`를 생성할 수 있습니다. 여기서 핵심은 `Response.render(content)` 메서드를 생성하여 내용을 `bytes`로 반환하는 것입니다:
    
    {* ../../docs_src/custom_response/tutorial009c.py hl[9:14,17] *}
    
    이제 다음 대신:
    
    ```json
    {"message": "Hello World"}
    ```
    
    이 응답은 이렇게 반환됩니다:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 11:21:20 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SearchHelper.java

        //                                                                      ==============
    
        /**
         * Performs a search operation and populates the search render data with results.
         *
         * This method handles the complete search workflow including parameter processing,
         * query execution, result formatting, and logging. It supports automatic retry
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  3. docs/ru/docs/advanced/custom-response.md

    Скажем, вы хотите, чтобы возвращался отформатированный JSON с отступами, то есть хотите использовать опцию orjson `orjson.OPT_INDENT_2`.
    
    Вы могли бы создать `CustomORJSONResponse`. Главное, что вам нужно сделать — реализовать метод `Response.render(content)`, который возвращает содержимое как `bytes`:
    
    {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *}
    
    Теперь вместо того, чтобы возвращать:
    
    ```json
    {"message": "Hello World"}
    ```
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/path-params.md

    Import `Enum` and create a sub-class that inherits from `str` and from `Enum`.
    
    By inheriting from `str` the API docs will be able to know that the values must be of type `string` and will be able to render correctly.
    
    Then create class attributes with fixed values, which will be the available valid values:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[1,6:9] *}
    
    /// tip
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

            fw.println("#");
            fw.println("# The checker also rejects Markdown-style links, such as [text](https://example.com/something) as they do not render properly");
    
        }
    
        private void gatherDeadLinksInFileReleaseNotes(Map<File, List<Error>> errors) {
            int lineNumber = 0;
            List<Error> errorsForFile = new ArrayList<>();
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue May 27 09:07:14 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/custom-response.md

    Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`.
    
    You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`:
    
    {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *}
    
    Now instead of returning:
    
    ```json
    {"message": "Hello World"}
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/custom-response.md

    Sie könnten eine `CustomORJSONResponse` erstellen. Das Wichtigste, was Sie tun müssen, ist, eine `Response.render(content)`-Methode zu erstellen, die den Inhalt als `bytes` zurückgibt:
    
    {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *}
    
    Statt:
    
    ```json
    {"message": "Hello World"}
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/custom-response.md

    Digamos que quieres que devuelva JSON con sangría y formato, por lo que quieres usar la opción de orjson `orjson.OPT_INDENT_2`.
    
    Podrías crear un `CustomORJSONResponse`. Lo principal que tienes que hacer es crear un método `Response.render(content)` que devuelva el contenido como `bytes`:
    
    {* ../../docs_src/custom_response/tutorial009c_py39.py hl[9:14,17] *}
    
    Ahora en lugar de devolver:
    
    ```json
    {"message": "Hello World"}
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. scripts/docs.py

        frontmatter_end = match_pre.end()
        pre_end = match_start.end()
        post_start = match_end.start()
        template = Template(index_sponsors_template)
        message = template.render(sponsors=sponsors)
        pre_content = content[frontmatter_end:pre_end]
        post_content = content[post_start:]
        new_content = pre_content + message + post_content
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 21 17:40:17 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  10. scripts/translate.py

        Result:
    
            «««
            /// details | Vista previa
            »»»
    
    
    ### Tab blocks
    
    There are special blocks surrounded by four slashes («////»). They mark text, which will be rendered as part of a tab in the final document. The scheme is:
    
        //// tab | {tab title}
        {tab content, may span many lines}
        ////
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top