- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 187 for 8900 (0.03 seconds)
-
docs/fr/docs/tutorial/debugging.md
</div> alors la variable interne `__name__` de votre fichier, créée automatiquement par Python, aura pour valeur la chaîne de caractères `"__main__"`. Ainsi, la section : ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` va s'exécuter. --- Cela ne se produira pas si vous importez ce module (fichier). Par exemple, si vous avez un autre fichier `importer.py` qui contient : ```Python from myapp import app
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/uk/docs/advanced/strict-content-type.md
## Приклад атаки { #example-attack } Уявіть, що ви створюєте спосіб запускати локального AI-агента. Він надає API за адресою ``` http://localhost:8000/v1/agents/multivac ``` Є також фронтенд за адресою ``` http://localhost:8000 ``` /// tip | Порада Зауважте, що обидва мають один і той самий хост. ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:25:54 GMT 2026 - 5.5K bytes - Click Count (0) -
docs/sts/web-identity.py
token_url = "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token" # callback url specified when the application was defined callback_uri = "http://localhost:8000/oauth2/callback" # keycloak id and secret client_id = 'account' client_secret = 'daaa3008-80f0-40f7-80d7-e15167531ff0' sts_client = boto3.client( 'sts', region_name='us-east-1', use_ssl=False,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Click Count (0) -
docs/de/docs/advanced/strict-content-type.md
Stellen Sie sich vor, Sie bauen eine Möglichkeit, lokal einen KI-Agenten auszuführen. Er stellt eine API bereit unter ``` http://localhost:8000/v1/agents/multivac ``` Es gibt auch ein Frontend unter ``` http://localhost:8000 ``` /// tip | Tipp Beachten Sie, dass beide denselben Host haben. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:48:21 GMT 2026 - 3.6K bytes - Click Count (0) -
docs/en/docs/advanced/strict-content-type.md
## Example Attack { #example-attack } Imagine you build a way to run a local AI agent. It provides an API at ``` http://localhost:8000/v1/agents/multivac ``` There's also a frontend at ``` http://localhost:8000 ``` /// tip Note that both have the same host. /// Then using the frontend you can make the AI agent do things on your behalf.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/pt/docs/advanced/strict-content-type.md
## Exemplo de Ataque { #example-attack } Imagine que você desenvolve uma forma de executar um agente de IA local. Ele fornece uma API em ``` http://localhost:8000/v1/agents/multivac ``` Há também um frontend em ``` http://localhost:8000 ``` /// tip | Dica Observe que ambos têm o mesmo host. /// Usando o frontend, você pode fazer o agente de IA executar ações em seu nome.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:13 GMT 2026 - 3.5K bytes - Click Count (0) -
buildscripts/verify-build.sh
for i in $(seq 0 3); do "${MINIO[@]}" server --address ":900${i}" >"$WORK_DIR/dist-minio-900${i}.log" 2>&1 & done "${WORK_DIR}/mc" ready verify } function run_test_fs() { start_minio_fs (cd "$WORK_DIR" && "$FUNCTIONAL_TESTS") rv=$? pkill minio sleep 3Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 19:28:51 GMT 2024 - 6.7K bytes - Click Count (0) -
docs/fr/docs/advanced/strict-content-type.md
Imaginez que vous mettiez au point un moyen d’exécuter un agent IA local. Il expose une API à l’adresse ``` http://localhost:8000/v1/agents/multivac ``` Il y a aussi un frontend à l’adresse ``` http://localhost:8000 ``` /// tip | Astuce Notez qu’ils ont le même hôte. /// Vous pouvez alors, via le frontend, amener l’agent IA à effectuer des actions en votre nom.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 3.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/debugging.md
所以,下面这部分代码才会运行: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` --- 如果你是导入这个模块(文件)就不会这样。 因此,如果你的另一个文件 `importer.py` 像这样: ```Python from myapp import app # 其他一些代码 ``` 在这种情况下,`myapp.py` 内部的自动变量不会有值为 `"__main__"` 的变量 `__name__`。 所以,下面这一行不会被执行: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` /// info | 信息Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/de/docs/tutorial/debugging.md
</div> dann hat in Ihrer Datei die interne Variable `__name__`, die von Python automatisch erstellt wird, als Wert den String `"__main__"`. Daher wird der Abschnitt: ```Python uvicorn.run(app, host="0.0.0.0", port=8000) ``` ausgeführt. --- Dies wird nicht passieren, wenn Sie das Modul (die Datei) importieren. Wenn Sie also eine weitere Datei `importer.py` mit folgendem Inhalt haben: ```Python
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 2.7K bytes - Click Count (0)