Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 77 for Vendor (0.56 sec)

  1. 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`:
    
    ```Python hl_lines="9-14  17"
    {!../../../docs_src/custom_response/tutorial009c.py!}
    ```
    
    Now instead of returning:
    
    ```json
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/custom-response.md

    ➑️ πŸ’¬ πŸ‘† πŸ’š ⚫️ πŸ“¨ πŸ”‚ & πŸ“ 🎻, πŸ‘† πŸ’š βš™οΈ Orjson πŸŽ› `orjson.OPT_INDENT_2`.
    
    πŸ‘† πŸ’ͺ ✍ `CustomORJSONResponse`. πŸ‘‘ πŸ‘œ πŸ‘† βœ”οΈ ✍ `Response.render(content)` πŸ‘©β€πŸ”¬ πŸ‘ˆ πŸ“¨ 🎚 `bytes`:
    
    ```Python hl_lines="9-14  17"
    {!../../../docs_src/custom_response/tutorial009c.py!}
    ```
    
    πŸ”œ ↩️ πŸ›¬:
    
    ```json
    {"message": "Hello World"}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  3. docs/pt/docs/alternatives.md

    !!! note "Detalhes TΓ©cnicos"
        ASGI Γ© um novo "padrΓ£o" sendo desenvolvido pelos membros do time central do Django. Ele ainda nΓ£o estΓ‘ como "PadrΓ£o Python" (PEP), embora eles estejam em processo de fazer isso.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. scripts/docs.py

    {% for sponsor in sponsors.gold -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
    {% endfor -%}
    {%- for sponsor in sponsors.silver -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}"></a>
    {% endfor %}
    {% endif %}
    """
    
    
    def generate_readme_content() -> str:
        en_index = en_docs_path / "docs" / "index.md"
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  5. docs/de/docs/reference/responses.md

                - raw_headers
                - render
                - init_headers
                - headers
                - set_cookie
                - delete_cookie
    
    ::: fastapi.responses.ORJSONResponse
        options:
            members:
                - charset
                - status_code
                - media_type
                - body
                - background
                - raw_headers
                - render
                - init_headers
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Feb 19 15:53:39 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. docs/tr/docs/external-links.md

    * <a href="{{ item.link }}" class="external-link" target="_blank">{{ item.title }}</a> by <a href="{{ item.author_link }}" class="external-link" target="_blank">{{ item.author }}</a>.
    
    {% endfor %}
    {% endfor %}
    {% endfor %}
    
    ## Projeler
    
    `fastapi` konulu en son GitHub projeleri:
    
    <div class="github-topic-projects">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 15:28:47 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/templates.md

    * Import `Jinja2Templates`.
    * Create a `templates` object that you can re-use later.
    * Declare a `Request` parameter in the *path operation* that will return a template.
    * Use the `templates` you created to render and return a `TemplateResponse`, pass the name of the template, the request object, and a "context" dictionary with key-value pairs to be used inside of the Jinja2 template.
    
    ```Python hl_lines="4  11  15-18"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 22:25:37 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/zh/docs/fastapi-people.md

    {% endfor %}
    {% endif %}
    
    {% if sponsors.silver %}
    
    ### ι“Άη‰Œθ΅žεŠ©ε•†
    
    {% for sponsor in sponsors.silver -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor %}
    {% endif %}
    
    {% if sponsors.bronze %}
    
    ### ι“œη‰Œθ΅žεŠ©ε•†
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 25 17:09:48 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. docs/em/docs/fastapi-people.md

    {% endfor %}
    {% endif %}
    
    {% if sponsors.silver %}
    
    ### πŸ₯‡1st πŸ’°
    
    {% for sponsor in sponsors.silver -%}
    <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
    {% endfor %}
    {% endif %}
    
    {% if sponsors.bronze %}
    
    ### πŸ₯ˆ2nd πŸ’°
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/es/docs/external-links.md

    * <a href="{{ item.link }}" class="external-link" target="_blank">{{ item.title }}</a> by <a href="{{ item.author_link }}" class="external-link" target="_blank">{{ item.author }}</a>.
    
    {% endfor %}
    {% endfor %}
    {% endfor %}
    
    ## Projects
    
    Últimos proyectos de GitHub con el tema `fastapi`:
    
    <div class="github-topic-projects">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Feb 02 18:09:12 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top