- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for twenty (0.05 seconds)
-
tests/test_tutorial/test_body/test_tutorial001.py
response = client.post("/items/", json={"name": "Foo", "price": "twenty"}) assert response.status_code == 422 assert response.json() == { "detail": [ { "type": "float_parsing", "loc": ["body", "price"], "msg": "Input should be a valid number, unable to parse string as a number", "input": "twenty", } ] }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 10.6K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial011.py
"path,expected_status,expected_response", [ ( "/query-checker/", 200, {"fixed_content_in_query": False}, ), ( "/query-checker/?q=qwerty", 200, {"fixed_content_in_query": False}, ), ( "/query-checker/?q=foobar", 200, {"fixed_content_in_query": True}, ), ],Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 3.9K bytes - Click Count (0) -
docs/pt/docs/advanced/websockets.md
Em sua rota WebSocket você pode esperar (`await`) por mensagens e enviar mensagens. {* ../../docs_src/websockets/tutorial001_py39.py hl[48:52] *} Você pode receber e enviar dados binários, de texto e JSON. ## Tente { #try-it } Se seu arquivo for nomeado `main.py`, execute sua aplicação com: <div class="termy"> ```console $ fastapi dev main.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6K bytes - Click Count (0) -
docs/pt/docs/python-types.md
Mas então você deve chamar "esse método que converte a primeira letra em maiúscula". Era `upper`? Era `uppercase`? `first_uppercase`? `capitalize`? Em seguida, tente com o velho amigo do programador, o preenchimento automático do editor. Você digita o primeiro parâmetro da função, `first_name`, depois um ponto (`.`) e, em seguida, pressiona `Ctrl + Space` para acionar a conclusão.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.7K bytes - Click Count (0) -
docs/es/docs/help-fastapi.md
* Leer otras ideas, artículos, y leer sobre las herramientas que he creado. * Seguirme para leer lo que publico nuevo. ## Twittea sobre **FastAPI** { #tweet-about-fastapi } <a href="https://x.com/compose/tweet?text=I'm loving @fastapi because... https://github.com/fastapi/fastapi" class="external-link" target="_blank">Twittea sobre **FastAPI**</a> y dime a mí y a otros por qué te gusta. 🎉Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:15:01 GMT 2025 - 14.8K bytes - Click Count (0) -
docs/pt/docs/tutorial/handling-errors.md
Você pode utilizá-lo enquanto desenvolve seu app para registrar o *body* e debugá-lo, e assim retorná-lo ao usuário, etc. {* ../../docs_src/handling_errors/tutorial005_py39.py hl[14] *} Tente enviar um item inválido como este: ```JSON { "title": "towel", "size": "XL" } ``` Você receberá uma *response* informando-o de que os dados são inválidos, e contendo o *body* recebido:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.2K bytes - Click Count (0) -
docs/pt/docs/tutorial/first-steps.md
Você também pode devolver modelos Pydantic ( você verá mais sobre isso mais tarde). Existem muitos outros objetos e modelos que serão convertidos automaticamente para JSON (incluindo ORMs, etc). Tente usar seus favoritos, é altamente provável que já sejam compatíveis. ### Passo 6: Faça o deploy { #step-6-deploy-it }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.6K bytes - Click Count (0) -
docs/en/docs/python-types.md
The important thing is that by using standard Python types, in a single place (instead of adding more classes, decorators, etc), **FastAPI** will do a lot of the work for you. /// info If you already went through all the tutorial and came back to see more about types, a good resource is <a href="https://mypy.readthedocs.io/en/latest/cheat_sheet_py3.html" class="external-link" target="_blank">the "cheat sheet" from `mypy`</a>.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.34.md
- Promoted the `KubeletPodResourcesDynamicResources` and `KubeletPodResourcesGet` feature gates to beta, which were enabled by default if DRA went to GA. ([#132940](https://github.com/kubernetes/kubernetes/pull/132940), [@guptaNswati](https://github.com/guptaNswati))
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Wed Dec 10 01:13:50 GMT 2025 - 333.3K bytes - Click Count (2)