Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for 8105 (0.04 sec)

  1. docs/de/docs/advanced/security/oauth2-scopes.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="8  105"
    {!> ../../docs_src/security/tutorial005_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="8  105"
    {!> ../../docs_src/security/tutorial005_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="8  106"
    {!> ../../docs_src/security/tutorial005_an.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/security/oauth2-scopes.md

    该依赖项函数本身不需要作用域,因此,可以使用 `Depends` 和 `oauth2_scheme`。不需要指定安全作用域时,不必使用 `Security`。
    
    此处还声明了从 `fastapin.security` 导入的 `SecurityScopes` 类型的特殊参数。
    
    `SecuriScopes` 类与 `Request` 类似(`Request` 用于直接提取请求对象)。
    
    ```Python hl_lines="8  105"
    {!../../docs_src/security/tutorial005.py!}
    ```
    
    ## 使用 `scopes`
    
    参数 `security_scopes` 的类型是 `SecurityScopes`。
    
    它的属性 `scopes`  是作用域列表,所有依赖项都把它作为子依赖项。也就是说所有**依赖**……这听起来有些绕,后文会有解释。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/security/oauth2-scopes.md

    👥 📣 🎁 🔢 🆎 `SecurityScopes`, 🗄 ⚪️➡️ `fastapi.security`.
    
    👉 `SecurityScopes` 🎓 🎏 `Request` (`Request` ⚙️ 🤚 📨 🎚 🔗).
    
    ```Python hl_lines="8  105"
    {!../../docs_src/security/tutorial005.py!}
    ```
    
    ## ⚙️ `scopes`
    
    🔢 `security_scopes` 🔜 🆎 `SecurityScopes`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/security/oauth2-scopes.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | Dica
    
    Prefira utilizar a versão `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="8  105"
    {!> ../../docs_src/security/tutorial005_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip | Dica
    
    Prefira utilizar a versão `Annotated` se possível.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/response-model.md

    응답 모델은 아래와 같이 기본값을 가질 수 있습니다:
    
    ```Python hl_lines="11  13-14"
    {!../../docs_src/response_model/tutorial004.py!}
    ```
    
    * `description: Optional[str] = None`은 기본값으로 `None`을 갖습니다.
    * `tax: float = 10.5`는 기본값으로 `10.5`를 갖습니다.
    * `tags: List[str] = []` 빈 리스트의 기본값으로: `[]`.
    
    그러나 실제로 저장되지 않았을 경우 결과에서 값을 생략하고 싶을 수 있습니다.
    
    예를 들어, NoSQL 데이터베이스에 많은 선택적 속성이 있는 모델이 있지만, 기본값으로 가득 찬 매우 긴 JSON 응답을 보내고 싶지 않습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. docs_src/path_params_numeric_validations/tutorial006_an.py

    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str,
        size: Annotated[float, Query(gt=0, lt=10.5)],
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:39:15 UTC 2024
    - 457 bytes
    - Viewed (0)
  7. requirements-docs.txt

    pillow==11.0.0
    # For image processing by Material for MkDocs
    cairosvg==2.7.1
    mkdocstrings[python]==0.26.1
    griffe-typingdoc==0.2.7
    # For griffe, it formats with black
    black==24.3.0
    mkdocs-macros-plugin==1.0.5
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:17:22 UTC 2024
    - 499 bytes
    - Viewed (0)
  8. src/test/resources/plugin/repo3/fess-crawler-db-h2/maven-metadata.xml

        <release>1.0.12</release>
        <versions>
          <version>1.0.0</version>
          <version>1.0.1</version>
          <version>1.0.2</version>
          <version>1.0.3</version>
          <version>1.0.4</version>
          <version>1.0.5</version>
          <version>1.0.6</version>
          <version>1.0.7</version>
          <version>1.0.8</version>
          <version>1.0.9</version>
          <version>1.0.10</version>
          <version>1.0.11</version>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:30:41 UTC 2024
    - 719 bytes
    - Viewed (0)
  9. docs_src/path_params_numeric_validations/tutorial006.py

    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        *,
        item_id: int = Path(title="The ID of the item to get", ge=0, le=1000),
        q: str,
        size: float = Query(gt=0, lt=10.5),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
        if size:
            results.update({"size": size})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:39:15 UTC 2024
    - 397 bytes
    - Viewed (0)
  10. src/test/resources/plugin/repo3/fess-crawler-db/maven-metadata.xml

        <release>1.0.12</release>
        <versions>
          <version>1.0.0</version>
          <version>1.0.1</version>
          <version>1.0.2</version>
          <version>1.0.3</version>
          <version>1.0.4</version>
          <version>1.0.5</version>
          <version>1.0.6</version>
          <version>1.0.7</version>
          <version>1.0.8</version>
          <version>1.0.9</version>
          <version>1.0.10</version>
          <version>1.0.11</version>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 17 13:30:41 UTC 2024
    - 716 bytes
    - Viewed (0)
Back to top