Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 104 for systemz (0.3 sec)

  1. docs_src/security/tutorial005_py310.py

    async def read_own_items(
        current_user: User = Security(get_current_active_user, scopes=["items"]),
    ):
        return [{"item_id": "Foo", "owner": current_user.username}]
    
    
    @app.get("/status/")
    async def read_system_status(current_user: User = Depends(get_current_user)):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_an_py310.py

        current_user: Annotated[User, Security(get_current_active_user, scopes=["items"])],
    ):
        return [{"item_id": "Foo", "owner": current_user.username}]
    
    
    @app.get("/status/")
    async def read_system_status(current_user: Annotated[User, Depends(get_current_user)]):
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. docs/de/docs/deployment/versions.md

    # Über FastAPI-Versionen
    
    **FastAPI** wird bereits in vielen Anwendungen und Systemen produktiv eingesetzt. Und die Testabdeckung wird bei 100 % gehalten. Aber seine Entwicklung geht immer noch schnell voran.
    
    Es werden regelmäßig neue Funktionen hinzugefügt, Fehler werden regelmäßig behoben und der Code wird weiterhin kontinuierlich verbessert.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:06:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/websockets.md

    First you need to install `WebSockets`:
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    ## WebSockets client
    
    ### In production
    
    In your production system, you probably have a frontend created with a modern framework like React, Vue.js or Angular.
    
    And to communicate using WebSockets with your backend you would probably use your frontend's utilities.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. docs/zh/docs/deployment/concepts.md

    ### 单独的程序
    
    为了实现这一点,您通常会有一个**单独的程序**来确保您的应用程序在启动时运行。 在许多情况下,它还可以确保其他组件或应用程序也运行,例如数据库。
    
    ### 启动时运行的示例工具
    
    可以完成这项工作的工具的一些示例是:
    
    * Docker
    * Kubernetes
    * Docker Compose
    * Docker in Swarm Mode
    * Systemd
    * Supervisor
    * 作为其服务的一部分由云提供商内部处理
    * 其他的...
    
    我将在接下来的章节中为您提供更具体的示例。
    
    
    ## 重新启动
    
    与确保应用程序在启动时运行类似,您可能还想确保它在挂掉后**重新启动**。
    
    ### 我们会犯错误
    
    作为人类,我们总是会犯**错误**。 软件几乎*总是*在不同的地方隐藏着**bug**。 🐛
    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)
  6. docs/fr/docs/tutorial/background-tasks.md

    * Les arguments nommés à passer à la fonction de tâche (`message="some notification"`).
    
    ## Injection de dépendances
    
    Utiliser `BackgroundTasks` fonctionne aussi avec le système d'injection de dépendances. Vous pouvez déclarer un paramètre de type `BackgroundTasks` à différents niveaux : dans une *fonction de chemin*, dans une dépendance, dans une sous-dépendance...
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    # Klassen als Abhängigkeiten
    
    Bevor wir tiefer in das **Dependency Injection** System eintauchen, lassen Sie uns das vorherige Beispiel verbessern.
    
    ## Ein `dict` aus dem vorherigen Beispiel
    
    Im vorherigen Beispiel haben wir ein `dict` von unserer Abhängigkeit („Dependable“) zurückgegeben:
    
    === "Python 3.10+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/dependencies/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:01:58 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. docs/pt/docs/features.md

    Tudo construído como ferramentas e componentes reutilizáveis que são fáceis de integrar com seus sistemas, armazenamento de dados, banco de dados relacionais e não-relacionais etc.
    
    ### Injeção de dependência
    
    FastAPI inclui um sistema de <abbr title='também conhecido como "components", "resources", "services", "providers"'><strong>injeção de dependência</strong></abbr> extremamente fácil de usar, mas extremamente poderoso.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/security/oauth2-scopes.md

                                * `security_scopes.scopes` 包含*路径操作* `read_users_me` 的 `["me"]`,因为它在依赖项里被声明
                                * `security_scopes.scopes` 包含用于*路径操作* `read_system_status` 的 `[]`(空列表),并且它的依赖项 `get_current_user` 也没有声明任何 `scope`
    
    !!! tip "提示"
    
        此处重要且**神奇**的事情是,`get_current_user` 检查每个*路径操作*时可以使用不同的 `scopes` 列表。
    
        所有这些都依赖于在每个*路径操作*和指定*路径操作*的依赖树中的每个依赖项。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. docs/fr/docs/features.md

    Le tout conçu en composant réutilisable facilement intégrable à vos systèmes, data stores, base de données relationnelle ou NoSQL, etc.
    
    ### Injection de dépendances
    
    FastAPI contient un système simple mais extrêmement puissant d'<abbr title='aussi connus sous le nom de "composants", "ressources", "services", "providers"'><strong>Injection de Dépendances</strong></abbr>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top