Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for 8105 (0.05 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. helm-releases/minio-1.0.5.tgz

    minio-1.0.5.tar minio/Chart.yaml apiVersion: v1 appVersion: RELEASE.2021-08-25T00-41-18Z description: Multi-Cloud Object Storage home: https://min.io icon: https://min.io/resources/img/logo/MINIO_wordmark.png keywords: - storage - object-storage - S3 maintainers: - email: ******@****.*** name: MinIO, Inc name: minio sources: - https://github.com/minio/minio version: 1.0.5 minio/values.yaml ## Provide a name in place of minio for `app:` labels ## nameOverride: "" ## Provide a name to substitute for...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 25 19:53:57 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py39
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py39
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_updates/test_tutorial001.py

            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_pydanticv2
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py310
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py310
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  9. test-site/public/javascripts/suggestor.js

            }
    
            suggestor.init($(this), setting);
    
            $(this).keydown( function(e){
                if( ((e.keyCode >= 48) && (e.keyCode <= 90))
                    || ((e.keyCode >= 96) && (e.keyCode <= 105))
                    || ((e.keyCode >= 186) && (e.keyCode <= 226))
                    || e.keyCode == 8
                    || e.keyCode == 32
                    || e.keyCode == 46
                ) {
                    started = true;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 14.6K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    {!> ../../docs_src/response_model/tutorial004.py!}
    ```
    
    ////
    
    * `description: Union[str, None] = None` (or `str | None = None` in Python 3.10) has a default of `None`.
    * `tax: float = 10.5` has a default of `10.5`.
    * `tags: List[str] = []` has a default of an empty list: `[]`.
    
    but you might want to omit them from the result if they were not actually stored.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top