Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 130 for Staken (0.07 sec)

  1. docs/em/docs/tutorial/security/get-current-user.md

    # 🤚 ⏮️ 👩‍💻
    
    ⏮️ 📃 💂‍♂ ⚙️ (❔ 🧢 🔛 🔗 💉 ⚙️) 🤝 *➡ 🛠️ 🔢* `token` `str`:
    
    ```Python hl_lines="10"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    ✋️ 👈 🚫 👈 ⚠.
    
    ➡️ ⚒ ⚫️ 🤝 👥 ⏮️ 👩‍💻.
    
    ## ✍ 👩‍💻 🏷
    
    🥇, ➡️ ✍ Pydantic 👩‍💻 🏷.
    
    🎏 🌌 👥 ⚙️ Pydantic 📣 💪, 👥 💪 ⚙️ ⚫️ 🙆 🙆:
    
    //// tab | 🐍 3️⃣.6️⃣ & 🔛
    
    ```Python hl_lines="5  12-16"
    {!> ../../docs_src/security/tutorial002.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. .github/workflows/issue-manager.yml

        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: tiangolo/issue-manager@0.5.1
            with:
              token: ${{ secrets.GITHUB_TOKEN }}
              config: >
                {
                  "answered": {
                    "delay": 864000,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 10:38:53 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/static-files.md

    ///
    
    ### What is "Mounting"
    
    "Mounting" means adding a complete "independent" application in a specific path, that then takes care of handling all the sub-paths.
    
    This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:45:40 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/settings.md

    ///
    
    ////
    
    /// info
    
    In Pydantic version 1 the configuration was done in an internal class `Config`, in Pydantic version 2 it's done in an attribute `model_config`. This attribute takes a `dict`, and to get autocompletion and inline errors you can import and use `SettingsConfigDict` to define that `dict`.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-multiple-params.md

    ///
    
    ```Python hl_lines="19-21"
    {!> ../../docs_src/body_multiple_params/tutorial001.py!}
    ```
    
    ////
    
    /// note
    
    Notice that, in this case, the `item` that would be taken from the body is optional. As it has a `None` default value.
    
    ///
    
    ## Multiple body parameters
    
    In the previous example, the *path operations* would expect a JSON body with the attributes of an `Item`, like:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/security/get-current-user.md

    # 現在のユーザーの取得
    
    一つ前の章では、(依存性注入システムに基づいた)セキュリティシステムは、 *path operation関数* に `str` として `token` を与えていました:
    
    ```Python hl_lines="10"
    {!../../docs_src/security/tutorial001.py!}
    ```
    
    しかし、それはまだそんなに有用ではありません。
    
    現在のユーザーを取得するようにしてみましょう。
    
    ## ユーザーモデルの作成
    
    まずは、Pydanticのユーザーモデルを作成しましょう。
    
    ボディを宣言するのにPydanticを使用するのと同じやり方で、Pydanticを別のどんなところでも使うことができます:
    
    ```Python hl_lines="5  12-16"
    {!../../docs_src/security/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ///
    
    /// info
    
    In diesem Beispiel verwenden wir zwei erfundene benutzerdefinierte Header `X-Key` und `X-Token`.
    
    Aber in realen Fällen würden Sie bei der Implementierung von Sicherheit mehr Vorteile durch die Verwendung der integrierten [Sicherheits-Werkzeuge (siehe nächstes Kapitel)](../security/index.md){.internal-link target=_blank} erzielen.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

    ////
    
    That extra info will be added as-is to the output **JSON Schema** for that model, and it will be used in the API docs.
    
    //// tab | Pydantic v2
    
    In Pydantic version 2, you would use the attribute `model_config`, that takes a `dict` as described in <a href="https://docs.pydantic.dev/latest/api/config/" class="external-link" target="_blank">Pydantic's docs: Configuration</a>.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/security/oauth2-jwt.md

    # OAuth2 实现密码哈希与 Bearer  JWT 令牌验证
    
    至此,我们已经编写了所有安全流,本章学习如何使用 <abbr title="JSON Web Tokens">JWT</abbr> 令牌(Token)和安全密码哈希(Hash)实现真正的安全机制。
    
    本章的示例代码真正实现了在应用的数据库中保存哈希密码等功能。
    
    接下来,我们紧接上一章,继续完善安全机制。
    
    ## JWT 简介
    
    JWT 即**JSON 网络令牌**(JSON Web Tokens)。
    
    JWT 是一种将 JSON 对象编码为没有空格,且难以理解的长字符串的标准。JWT 的内容如下所示:
    
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/metadata.md

    {!../../docs_src/metadata/tutorial001_1.py!}
    ```
    
    ## Metadata for tags
    
    You can also add additional metadata for the different tags used to group your path operations with the parameter `openapi_tags`.
    
    It takes a list containing one dictionary for each tag.
    
    Each dictionary can contain:
    
    * `name` (**required**): a `str` with the same tag name you use in the `tags` parameter in your *path operations* and `APIRouter`s.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top