- Sort Score
- Num 10 results
- Language All
Results 1051 - 1060 of 1,364 for main (0.02 seconds)
-
docs/en/docs/advanced/behind-a-proxy.md
### Providing the `root_path` { #providing-the-root-path } To achieve this, you can use the command line option `--root-path` like: <div class="termy"> ```console $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.8K bytes - Click Count (0) -
docs/zh/docs/advanced/behind-a-proxy.md
### 提供 `root_path` { #providing-the-root-path } 为此,你可以像下面这样使用命令行选项 `--root-path`: <div class="termy"> ```console $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> 如果你使用 Hypercorn,它也有 `--root-path` 选项。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 15.1K bytes - Click Count (0) -
docs/tr/docs/index.md
</div> **Not**: Tüm terminallerde çalıştığından emin olmak için `"fastapi[standard]"` ifadesini tırnak içinde yazdığınızdan emin olun. ## Örnek { #example } ### Oluşturalım { #create-it } Şu içerikle `main.py` adında bir dosya oluşturalım: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 23.2K bytes - Click Count (0) -
docs/fr/docs/advanced/security/http-basic-auth.md
# Renvoyer une erreur ... ``` Mais en utilisant `secrets.compare_digest()`, cela sera sécurisé contre un type d'attaques appelé « attaques par chronométrage ». ### Attaques par chronométrage { #timing-attacks } Mais qu'est-ce qu'une « attaque par chronométrage » ? Imaginons que des attaquants essaient de deviner le nom d'utilisateur et le mot de passe.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 5.8K bytes - Click Count (0) -
docs/uk/docs/advanced/additional-responses.md
} } } } } } } ``` ## Додаткові типи медіа для основної відповіді { #additional-media-types-for-the-main-response } Можна використати цей самий параметр `responses`, щоб додати різні типи медіа для тієї ж основної відповіді.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 11.7K bytes - Click Count (0) -
docs/es/docs/advanced/websockets.md
{* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *} Puedes recibir y enviar datos binarios, de texto y JSON. ## Pruébalo { #try-it } Pon tu código en un archivo `main.py` y luego ejecuta tu aplicación: <div class="termy"> ```console $ fastapi dev <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/tr/docs/advanced/websockets.md
{* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *} Binary, text ve JSON verisi alıp gönderebilirsiniz. ## Deneyin { #try-it } Kodunuzu `main.py` dosyasına koyun ve ardından uygulamanızı çalıştırın: <div class="termy"> ```console $ fastapi dev <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 5.9K bytes - Click Count (0) -
cmd/leak-detect_test.go
// and other runtime functions while identifying leaks. var ignoredStackFns = []string{ "", // Below are the stacks ignored by the upstream leaktest code. "testing.Main(", "testing.tRunner(", "testing.tRunner(", "runtime.goexit", "created by runtime.gc", // ignore the snapshot function. // since the snapshot is taken here the entry will have the current function too.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.2K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
destinationFile = futurePluginVersionsPropertiesFile } val futurePluginVersionsDestDir = futurePluginVersionsPropertiesFile.map { it.asFile.parentFile } sourceSets.main { output.dir(mapOf("builtBy" to writeFuturePluginVersions), futurePluginVersionsDestDir) } configurations.runtimeElements { outgoing { variants.named("resources") {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 11:01:20 GMT 2026 - 6.2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/behind-a-proxy.md
在這個例子中,「Proxy」可以是 **Traefik**。而伺服器可以是以 **Uvicorn** 啟動的 FastAPI CLI,運行你的 FastAPI 應用。 ### 提供 `root_path` { #providing-the-root-path } 要達成這一點,你可以像這樣使用命令列選項 `--root-path`: <div class="termy"> ```console $ fastapi run main.py --forwarded-allow-ips="*" --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div> 如果你使用 Hypercorn,它也有 `--root-path` 這個選項。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 15.3K bytes - Click Count (0)