- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 321 for Starlette (0.21 sec)
-
tests/test_starlette_exception.py
assert response.json() == {"detail": "Item not found"} def test_get_starlette_item(): response = client.get("/starlette-items/foo") assert response.status_code == 200, response.text assert response.json() == {"item": "The Foo Wrestlers"} def test_get_starlette_item_not_found(): response = client.get("/starlette-items/bar") assert response.status_code == 404, response.text
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 7.4K bytes - Viewed (0) -
tests/test_starlette_urlconvertors.py
Eugenio Panadero <******@****.***> 1669560366 +0100
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sun Nov 27 14:46:06 GMT 2022 - 1.7K bytes - Viewed (0) -
docs/fr/docs/benchmarks.md
* **Starlette** : * A les seconde meilleures performances après Uvicorn. Starlette utilise en réalité Uvicorn. De ce fait, il ne peut qu’être plus "lent" qu'Uvicorn car il requiert l'exécution de plus de code. * Cependant il nous apporte les outils pour construire une application web simple, avec un routage basé sur des chemins, etc.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Jul 27 18:49:56 GMT 2023 - 3.9K bytes - Viewed (0) -
docs/pt/docs/benchmarks.md
* Se você quer fazer comparações com o Starlette, compare com Sanic, Flask, Django, etc. _Frameworks Web_ (ou _microframeworks_). * **FastAPI**: * Do mesmo modo que Starlette utiliza Uvicorn e não pode ser mais rápido que ele, **FastAPI** utiliza o Starlette, então não tem como ser mais rápido do que o Starlette.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu May 12 00:06:16 GMT 2022 - 3.9K bytes - Viewed (0) -
docs/en/docs/advanced/using-request-directly.md
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Aug 29 14:02:58 GMT 2020 - 2.3K bytes - Viewed (0) -
docs/ru/docs/tutorial/handling-errors.md
Таким образом, если какая-либо часть внутреннего кода Starlette, расширение или плагин Starlette вызовет исключение Starlette `HTTPException`, ваш обработчик сможет перехватить и обработать его. В данном примере, чтобы иметь возможность использовать оба `HTTPException` в одном коде, исключения Starlette переименованы в `StarletteHTTPException`: ```Python
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.5K bytes - Viewed (0) -
docs/ja/docs/benchmarks.md
* もしStarletteを比較する場合は、Sanic、Flask、DjangoなどのWEBフレームワーク (もしくはマイクロフレームワーク) と比較してください。 * **FastAPI**: * StarletteがUvicornを使っているのと同じで、**FastAPI**はStarletteを使っており、それより速くできません。 * FastAPIはStarletteの上にさらに多くの機能を提供します。データの検証やシリアライゼーションなど、APIを構築する際に常に必要な機能です。また、それを使用することで、自動ドキュメント化を無料で取得できます (ドキュメントは実行中のアプリケーションにオーバーヘッドを追加せず、起動時に生成されます) 。
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Oct 17 18:43:43 GMT 2020 - 4.4K bytes - Viewed (0) -
docs/ur/docs/benchmarks.md
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Aug 05 08:24:21 GMT 2023 - 6.7K bytes - Viewed (0) -
docs/de/docs/how-to/graphql.md
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:18:31 GMT 2024 - 3.7K bytes - Viewed (0) -
docs/pt/docs/advanced/templates.md
!!! note "Detalhes Técnicos" Você também poderia usar `from starlette.templating import Jinja2Templates`. **FastAPI** fornece o mesmo `starlette.templating` como `fastapi.templating` apenas como uma conveniência para você, o desenvolvedor. Mas a maioria das respostas disponíveis vêm diretamente do Starlette. O mesmo acontece com `Request` e `StaticFiles`. ## Escrevendo Templates
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Mar 28 04:05:17 GMT 2024 - 3.4K bytes - Viewed (0)