- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 412 for custosa (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/pt/docs/advanced/events.md
Nós criamos uma função assíncrona `lifespan()` com `yield` assim: {* ../../docs_src/events/tutorial003_py39.py hl[16,19] *} Aqui estamos simulando a operação de *inicialização* custosa de carregar o modelo, colocando a (falsa) função do modelo no dicionário com modelos de machine learning antes do `yield`. Esse código será executado **antes** de a aplicação **começar a receber requisições**, durante a *inicialização*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.8K bytes - Click Count (0) -
docs/en/docs/js/custom.js
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 22 15:11:52 GMT 2025 - 6.3K bytes - Click Count (2) -
docs/en/docs/advanced/custom-response.md
## Custom response class { #custom-response-class } You can create your own custom response class, inheriting from `Response` and using it. For example, let's say that you want to use <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, but with some custom settings not used in the included `ORJSONResponse` class.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.4K bytes - Click Count (0) -
docs/es/docs/advanced/custom-response.md
# Response Personalizado - HTML, Stream, Archivo, otros { #custom-response-html-stream-file-others } Por defecto, **FastAPI** devolverá los responses usando `JSONResponse`. Puedes sobrescribirlo devolviendo un `Response` directamente como se ve en [Devolver una Response directamente](response-directly.md){.internal-link target=_blank}.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.2K bytes - Click Count (0) -
docs/en/docs/how-to/custom-request-and-route.md
* Automatically logging all request bodies. ## Handling custom request body encodings { #handling-custom-request-body-encodings } Let's see how to make use of a custom `Request` subclass to decompress gzip requests. And an `APIRoute` subclass to use that custom request class. ### Create a custom `GzipRequest` class { #create-a-custom-gziprequest-class } /// tipCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 4.6K bytes - Click Count (0) -
docs/de/docs/advanced/custom-response.md
# Benutzerdefinierte Response – HTML, Stream, Datei, andere { #custom-response-html-stream-file-others } Standardmäßig gibt **FastAPI** die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Responses</abbr> mittels `JSONResponse` zurück. Sie können dies überschreiben, indem Sie direkt eine `Response` zurückgeben, wie in [Eine Response direkt zurückgeben](response-directly.md){.internal-link target=_blank} gezeigt.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.4K bytes - Click Count (0) -
docs/ru/docs/how-to/custom-request-and-route.md
## Обработка пользовательского кодирования тела запроса { #handling-custom-request-body-encodings } Посмотрим как использовать пользовательский подкласс `Request` для распаковки gzip-запросов. И подкласс `APIRoute`, чтобы использовать этот пользовательский класс запроса. ### Создать пользовательский класс `GzipRequest` { #create-a-custom-gziprequest-class } /// tip | СоветCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
The same as when using a custom CDN, the first step is to disable the automatic docs, as those use the CDN by default. To disable them, set their URLs to `None` when creating your `FastAPI` app: {* ../../docs_src/custom_docs_ui/tutorial002_py39.py hl[9] *} ### Include the custom docs for static files { #include-the-custom-docs-for-static-files }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.8K bytes - Click Count (0) -
docs/de/docs/how-to/custom-request-and-route.md
## Handhaben von benutzerdefinierten Requestbody-Kodierungen { #handling-custom-request-body-encodings } Sehen wir uns an, wie Sie eine benutzerdefinierte `Request`-Unterklasse verwenden, um gzip-Requests zu dekomprimieren. Und eine `APIRoute`-Unterklasse zur Verwendung dieser benutzerdefinierten Requestklasse. ### Eine benutzerdefinierte `GzipRequest`-Klasse erstellen { #create-a-custom-gziprequest-class } /// tip | TippCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 13:54:34 GMT 2025 - 5.7K bytes - Click Count (0) -
docs/ja/docs/advanced/custom-response.md
`generate_html_response()` を呼び出した結果を返すことにより、**FastAPI** の振る舞いを上書きする `Response` が既に返されています。 しかし、一方では `response_class` に `HTMLResponse` を渡しているため、 **FastAPI** はOpenAPIや対話的ドキュメントでHTMLとして `text/html` でドキュメント化する方法を知っています。 <img src="/img/tutorial/custom-response/image01.png"> ## 利用可能なレスポンス 以下が利用可能なレスポンスの一部です。 `Response` を使って他の何かを返せますし、カスタムのサブクラスも作れることを覚えておいてください。 /// note | 技術詳細 `from starlette.responses import HTMLResponse` も利用できます。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 10.4K bytes - Click Count (0)