Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 988 for strs (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/iam/identity-management-plugin.md

    with an Identity Management Plugin webhook. When configured, this plugin enables the `AssumeRoleWithCustomToken` STS API extension. A user or application can now present a token to the `AssumeRoleWithCustomToken` API, and MinIO verifies this token by sending it to the Identity Management Plugin webhook. This plugin responds with some information and MinIO is able to generate temporary STS credentials to interact with object storage.
    
    The authentication flow is similar to that of OpenID, however...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/security/oauth2-scopes.md

    Для этого мы обновляем Pydantic‑модель `TokenData`, добавляя новое свойство `scopes`.
    
    Валидируя данные с помощью Pydantic, мы можем удостовериться, что у нас, например, именно `list` из `str` со scopes и `str` с `username`.
    
    А не, скажем, `dict` или что‑то ещё — ведь это могло бы где‑то позже сломать приложение и создать риск для безопасности.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 20.6K bytes
    - Click Count (0)
  3. docs/zh/docs/features.md

    编写带有类型标注的标准 Python:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # 将变量声明为 str
    # 并在函数内获得编辑器支持
    def main(user_id: str):
        return user_id
    
    
    # 一个 Pydantic 模型
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    可以像这样来使用:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/request-files.md

    ### `UploadFile` { #uploadfile }
    
    `UploadFile` 的属性如下:
    
    * `filename`:上传的原始文件名字符串(`str`),例如 `myimage.jpg`。
    * `content_type`:内容类型(MIME 类型 / 媒体类型)的字符串(`str`),例如 `image/jpeg`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/body.md

    * Se o parâmetro é de um **tipo único** (como `int`, `float`, `str`, `bool`, etc) será interpretado como um parâmetro de **consulta**.
    * Se o parâmetro é declarado como um **modelo Pydantic**, será interpretado como o **corpo** da requisição.
    
    /// note | Nota
    
    O FastAPI saberá que o valor de `q` não é obrigatório por causa do valor padrão `= None`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    那它就是一個「callable」。
    
    ## 以類別作為相依性 { #classes-as-dependencies_1 }
    
    你可能已經注意到,建立一個 Python 類別的實例時,你用的語法也是一樣的。
    
    例如:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    在這個例子中,`fluffy` 是 `Cat` 類別的一個實例。
    
    而要建立 `fluffy`,你其實是在「呼叫」`Cat`。
    
    所以,Python 類別本身也是一種 **callable**。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/path-params-numeric-validations.md

    路徑參數一定是必填,因為它必須是路徑的一部分。即使你將其宣告為 `None` 或設定預設值,也不會有任何影響,它仍然是必填。
    
    ///
    
    ## 依需求調整參數順序 { #order-the-parameters-as-you-need }
    
    /// tip
    
    如果你使用 `Annotated`,這點大概沒那麼重要或必要。
    
    ///
    
    假設你想把查詢參數 `q` 宣告為必要的 `str`。
    
    而你不需要為該參數宣告其他內容,所以其實不需要用 `Query`。
    
    但你仍需要為路徑參數 `item_id` 使用 `Path`,而且基於某些理由你不想用 `Annotated`。
    
    如果你把有「預設值」的參數放在沒有「預設值」的參數之前,Python 會抱怨。
    
    但你可以調整它們的順序,先放沒有預設值(查詢參數 `q`)的參數。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  8. docs/zh/docs/advanced/custom-response.md

    ///
    
    ### `Response` { #response }
    
    其他全部的响应都继承自主类 `Response`。
    
    你可以直接返回它。
    
    `Response` 类接受如下参数:
    
    * `content` - 一个 `str` 或者 `bytes`。
    * `status_code` - 一个 `int` 类型的 HTTP 状态码。
    * `headers` - 一个由字符串组成的 `dict`。
    * `media_type` - 一个给出媒体类型的 `str`,比如 `"text/html"`。
    
    FastAPI(实际上是 Starlette)将自动包含 Content-Length 的头。它还将包含一个基于 `media_type` 的 Content-Type 头,并为文本类型附加一个字符集。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. cmd/veeam-sos-api.go

    //   - Handover of IAM & STS Endpoints instead of manual definition in Veeam Backup & Replication. This allows Veeam
    //     Agents to directly backup to object storage.
    //
    // An object storage system can implement one, multiple, or all functions.
    //
    //   - Optional (mandatory if <IAMSTS> is true): Set Endpoints for IAM and STS processing.
    //
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 00:34:56 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      }
    
      public void testFlatteningToImmutableSetMultimap() {
        Collector<String, ?, ImmutableSetMultimap<Character, Character>> collector =
            flatteningToImmutableSetMultimap(
                str -> str.charAt(0), str -> asList(str.substring(1).toCharArray()).stream());
        BiPredicate<Multimap<?, ?>, Multimap<?, ?>> equivalence =
            Equivalence.equals()
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
Back to Top