Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 148 for 8a00 (0.04 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. docs/ko/docs/tutorial/debugging.md

    ```Python
        uvicorn.run(app, host="0.0.0.0", port=8000)
    ```
    
    이 실행됩니다.
    
    ---
    
    해당 모듈(파일)을 가져오면 이런 일이 발생하지 않습니다
    
    그래서 다음과 같은 다른 파일 `importer.py`가 있는 경우:
    
    ```Python
    from myapp import app
    
    # Some more code
    ```
    
    이 경우 `myapp.py` 내부의 자동 변수 `__name__`에는 값이 `"__main__"`이 들어가지 않습니다.
    
    따라서 다음 행
    
    ```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 14:06:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/advanced/strict-content-type.md

    - 應用在本機(例如 `localhost`)或內部網路中執行
    - 並且應用沒有任何身分驗證,假設同一個網路中的任何請求都可被信任
    
    ## 攻擊範例 { #example-attack }
    
    假設你打造了一個在本機執行 AI 代理(AI agent)的方法。
    
    它提供一個 API:
    
    ```
    http://localhost:8000/v1/agents/multivac
    ```
    
    同時也有一個前端:
    
    ```
    http://localhost:8000
    ```
    
    /// tip | 提示
    
    請注意兩者的主機(host)相同。
    
    ///
    
    接著你可以透過前端讓 AI 代理代你執行動作。
    
    由於它在本機執行、而非公開的網際網路上,你決定不設定任何身分驗證,只信任對本機網路的存取。
    
    然後你的某位使用者可能安裝並在本機執行它。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  10. docs_src/debugging/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def root():
        a = "a"
        b = "b" + a
        return {"hello world": b}
    
    
    if __name__ == "__main__":
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 223 bytes
    - Click Count (0)
Back to Top