Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for manager (0.76 sec)

  1. docs/ja/docs/deployment/concepts.md

        * 証明書の更新を自動的に処理 ✨
    * Caddy
        * 証明書の更新を自動的に処理 ✨
    * Nginx
        * 証明書更新のためにCertbotのような外部コンポーネントを使用
    * HAProxy
        * 証明書更新のためにCertbotのような外部コンポーネントを使用
    * Nginx のような Ingress Controller を持つ Kubernetes
        * 証明書の更新に cert-manager のような外部コンポーネントを使用
    * クラウド・プロバイダーがサービスの一部として内部的に処理(下記を参照👇)
    
    もう1つの選択肢は、HTTPSのセットアップを含んだより多くの作業を行う**クラウド・サービス**を利用することです。 このサービスには制限があったり、料金が高くなったりする可能性があります。しかしその場合、TLS Termination Proxyを自分でセットアップする必要はないです。
    
    次の章で具体例をいくつか紹介します。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  2. docs/de/docs/deployment/concepts.md

    ### Mehrere Prozesse – Ein Beispiel
    
    Im folgenden Beispiel gibt es einen **Manager-Prozess**, welcher zwei **Workerprozesse** startet und steuert.
    
    Dieser Manager-Prozess wäre wahrscheinlich derjenige, welcher der IP am **Port** lauscht. Und er würde die gesamte Kommunikation an die Workerprozesse weiterleiten.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:25 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/docker.md

    So, in this case, you **would not** want to have a process manager like Gunicorn with Uvicorn workers, or Uvicorn using its own Uvicorn workers. You would want to have just a **single Uvicorn process** per container (but probably multiple containers).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    # Abhängigkeiten mit yield
    
    FastAPI unterstützt Abhängigkeiten, die nach Abschluss einige <abbr title="Manchmal auch genannt „Exit Code“, „Cleanup Code“, „Teardown Code“, „Closing Code“, „Kontext Manager Exit Code“, usw.">zusätzliche Schritte ausführen</abbr>.
    
    Verwenden Sie dazu `yield` statt `return` und schreiben Sie die zusätzlichen Schritte / den zusätzlichen Code danach.
    
    !!! tip "Tipp"
        Stellen Sie sicher, dass Sie `yield` nur einmal pro Abhängigkeit verwenden.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:10:29 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/versions.md

    ```txt
    fastapi>=0.45.0,<0.46.0
    ```
    
    that would mean that you would use the versions `0.45.0` or above, but less than `0.46.0`, for example, a version `0.45.2` would still be accepted.
    
    If you use any other tool to manage your installations, like Poetry, Pipenv, or others, they all have a way that you can use to define specific versions for your packages.
    
    ## Available versions
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Nov 05 20:50:37 GMT 2020
    - 3.3K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/custom-request-and-route.md

    # 自定义请求与 APIRoute 类
    
    有时,我们要覆盖 `Request` 与 `APIRoute` 类使用的逻辑。
    
    尤其是中间件里的逻辑。
    
    例如,在应用处理请求体前,预先读取或操控请求体。
    
    !!! danger "危险"
    
        本章内容**较难**。
    
        **FastAPI** 新手可跳过本章。
    
    ## 用例
    
    常见用例如下:
    
    * 把 <a href="https://msgpack.org/index.html" class="external-link" target="_blank">`msgpack`</a> 等非 JSON 请求体转换为 JSON
    * 解压 gzip 压缩的请求体
    * 自动记录所有请求体的日志
    
    ## 处理自定义请求体编码
    
    下面学习如何使用自定义 `Request` 子类压缩 gizp 请求。
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:45:40 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/zh/docs/deployment/concepts.md

    * Traefik
         * 自动处理证书更新 ✨
    * Caddy
         * 自动处理证书更新 ✨
    * Nginx
         * 使用 Certbot 等外部组件进行证书更新
    * HAProxy
         * 使用 Certbot 等外部组件进行证书更新
    * 带有 Ingress Controller(如Nginx) 的 Kubernetes
         * 使用诸如 cert-manager 之类的外部组件来进行证书更新
    * 由云服务商内部处理,作为其服务的一部分(请阅读下文👇)
    
    另一种选择是您可以使用**云服务**来完成更多工作,包括设置 HTTPS。 它可能有一些限制或向您收取更多费用等。但在这种情况下,您不必自己设置 TLS 终止代理。
    
    我将在接下来的章节中向您展示一些具体示例。
    
    ---
    
    接下来要考虑的概念都是关于运行实际 API 的程序(例如 Uvicorn)。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/response-model.md

    ```Python hl_lines="17-18"
    {!../../../docs_src/response_model/tutorial002.py!}
    ```
    
    现在,每当浏览器使用一个密码创建用户时,API 都会在响应中返回相同的密码。
    
    在这个案例中,这可能不算是问题,因为用户自己正在发送密码。
    
    但是,如果我们在其他的*路径操作*中使用相同的模型,则可能会将用户的密码发送给每个客户端。
    
    !!! danger
        永远不要存储用户的明文密码,也不要在响应中发送密码。
    
    ## 添加输出模型
    
    相反,我们可以创建一个有明文密码的输入模型和一个没有明文密码的输出模型:
    
    === "Python 3.10+"
    
        ```Python hl_lines="9  11  16"
        {!> ../../../docs_src/response_model/tutorial003_py310.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/response-model.md

    ```
    
    これで、ブラウザがパスワードを使ってユーザーを作成する際に、APIがレスポンスで同じパスワードを返すようになりました。
    
    この場合、ユーザー自身がパスワードを送信しているので問題ないかもしれません。
    
    しかし、同じモデルを別の*path operation*に使用すると、すべてのクライアントにユーザーのパスワードを送信してしまうことになります。
    
    !!! danger "危険"
        ユーザーの平文のパスワードを保存したり、レスポンスで送信したりすることは絶対にしないでください。
    
    ## 出力モデルの追加
    
    代わりに、平文のパスワードを持つ入力モデルと、パスワードを持たない出力モデルを作成することができます:
    
    ```Python hl_lines="9 11 16"
    {!../../../docs_src/response_model/tutorial003.py!}
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. docs/em/docs/advanced/security/oauth2-scopes.md

    ## 🥙 🤝 ⏮️ ↔
    
    🔜, 🔀 🤝 *➡ 🛠️* 📨 ↔ 📨.
    
    👥 ⚙️ 🎏 `OAuth2PasswordRequestForm`. ⚫️ 🔌 🏠 `scopes` ⏮️ `list` `str`, ⏮️ 🔠 ↔ ⚫️ 📨 📨.
    
    &amp; 👥 📨 ↔ 🍕 🥙 🤝.
    
    !!! danger
        🦁, 📥 👥 ❎ ↔ 📨 🔗 🤝.
    
        ✋️ 👆 🈸, 💂‍♂, 👆 🔜 ⚒ 💭 👆 🕴 🚮 ↔ 👈 👩‍💻 🤙 💪 ✔️, ⚖️ 🕐 👆 ✔️ 🔁.
    
    ```Python hl_lines="155"
    {!../../../docs_src/security/tutorial005.py!}
    ```
    
    ## 📣 ↔ *➡ 🛠️* &amp; 🔗
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top