- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for onrender (0.4 sec)
-
.github/DISCUSSION_TEMPLATE/questions.yml
Others - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Aug 03 15:59:41 GMT 2023 - 5.8K bytes - Viewed (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) -
docs/em/docs/advanced/custom-response.md
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) -
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) -
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) -
docs/es/docs/python-types.md
Todo **FastAPI** está basado en estos type hints, lo que le da muchas ventajas y beneficios. Pero, así nunca uses **FastAPI** te beneficiarás de aprender un poco sobre los type hints. !!! note "Nota" Si eres un experto en Python y ya lo sabes todo sobre los type hints, salta al siguiente capítulo. ## Motivación Comencemos con un ejemplo simple:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/pt/docs/alternatives.md
Sua simplicidade e flexibilidade permitem fazer coisas como utilizar bancos de dados NoSQL como principal sistema de armazenamento de dados. Por ser tão simples, é relativamente intuitivo de aprender, embora a documentação esteja de forma mais técnica em alguns pontos.
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) -
docs/pt/docs/python-types.md
O **FastAPI** é baseado nesses type hints, eles oferecem muitas vantagens e benefícios. Mas mesmo que você nunca use o **FastAPI**, você se beneficiaria de aprender um pouco sobre eles. !!! note "Nota" Se você é um especialista em Python e já sabe tudo sobre type hints, pule para o próximo capítulo. ## Motivação Vamos começar com um exemplo simples:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
Vamos usar as ferramentas fornecidas pela **FastAPI** para lidar com segurança. ## Como Parece Vamos primeiro usar o código e ver como funciona, e depois voltaremos para entender o que está acontecendo. ## Crie um `main.py` Copie o exemplo em um arquivo `main.py`: ```Python {!../../../docs_src/security/tutorial001.py!} ``` ## Execute-o !!! info "informação"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/index.md
**FastAPI** tem muitas ferramentas para ajudar você com a parte de **Segurança** facilmente, rapidamente, de uma forma padrão, sem ter que estudar e aprender tudo sobre especificações de segurança. Mas primeiro, vamos verificar alguns pequenos conceitos. ## Está com pressa?
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 4.8K bytes - Viewed (0)