Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,467 for get (0.15 sec)

  1. ci/official/utilities/get_versions.sh

    Austin Anderson <******@****.***> 1704849822 -0800
    Shell Script
    - Registered: 2024-02-27 12:39
    - Last Modified: 2024-01-10 19:39
    - 2.3K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/security/get-current-user.md

        ```Python hl_lines="3  10-14"
        {!> ../../../docs_src/security/tutorial002_py310.py!}
        ```
    
    ## `get_current_user` 의존성 생성하기
    
    의존성 `get_current_user`를 만들어 봅시다.
    
    의존성이 하위 의존성을 가질 수 있다는 것을 기억하십니까?
    
    `get_current_user`는 이전에 생성한 것과 동일한 `oauth2_scheme`과 종속성을 갖게 됩니다.
    
    이전에 *경로 작동*에서 직접 수행했던 것과 동일하게 새 종속성 `get_current_user`는 하위 종속성 `oauth2_scheme`에서 `str`로 `token`을 수신합니다.
    
    === "파이썬 3.7 이상"
    
        ```Python hl_lines="25"
    Plain Text
    - Registered: 2024-02-25 07:19
    - Last Modified: 2024-02-11 13:48
    - 5.6K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/get_test_list.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    #
    # Usage: get_test_list.sh OUTPUT BAZEL_TEST_COMMAND...
    # Writes the list of tests that would be run from BAZEL_TEST_COMMAND to OUTPUT.
    # Hides all extra output and always exits with success for now.
    
    OUTPUT=$1
    shift
    Shell Script
    - Registered: 2024-02-27 12:39
    - Last Modified: 2023-09-18 14:52
    - 1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

        ```
    
    ## Create a `get_current_user` dependency
    
    Let's create a dependency `get_current_user`.
    
    Remember that dependencies can have sub-dependencies?
    
    `get_current_user` will have a dependency with the same `oauth2_scheme` we created before.
    
    Plain Text
    - Registered: 2024-02-25 07:19
    - Last Modified: 2024-01-11 16:31
    - 7.6K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/security/get-current-user.md

    {!../../../docs_src/security/tutorial002.py!}
    ```
    
    ## 创建一个 `get_current_user` 依赖项
    
    让我们来创建一个 `get_current_user` 依赖项。
    
    还记得依赖项可以有子依赖项吗?
    
    `get_current_user` 将具有一个我们之前所创建的同一个 `oauth2_scheme` 作为依赖项。
    
    与我们之前直接在路径操作中所做的相同,我们新的依赖项 `get_current_user` 将从子依赖项 `oauth2_scheme` 中接收一个 `str` 类型的 `token`:
    
    ```Python hl_lines="25"
    {!../../../docs_src/security/tutorial002.py!}
    ```
    
    ## 获取用户
    
    Plain Text
    - Registered: 2024-02-25 07:19
    - Last Modified: 2021-01-09 18:53
    - 4K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/security/get-current-user.md

        ```Python hl_lines="3  10-14"
        {!> ../../../docs_src/security/tutorial002_py310.py!}
        ```
    
    ## ✍ `get_current_user` 🔗
    
    ➡️ ✍ 🔗 `get_current_user`.
    
    💭 👈 🔗 💪 ✔️ 🎧-🔗 ❓
    
    `get_current_user` 🔜 ✔️ 🔗 ⏮️ 🎏 `oauth2_scheme` 👥 ✍ ⏭.
    
    🎏 👥 🔨 ⏭ *➡ 🛠️* 🔗, 👆 🆕 🔗 `get_current_user` 🔜 📨 `token` `str` ⚪️➡️ 🎧-🔗 `oauth2_scheme`:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="25"
    Plain Text
    - Registered: 2024-02-25 07:19
    - Last Modified: 2023-04-01 09:26
    - 4.4K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/security/get-current-user.md

    ```Python hl_lines="5  12-16"
    {!../../../docs_src/security/tutorial002.py!}
    ```
    
    ## 依存関係 `get_current_user` を作成
    
    依存関係 `get_current_user` を作ってみましょう。
    
    依存関係はサブ依存関係を持つことができるのを覚えていますか?
    
    `get_current_user` は前に作成した `oauth2_scheme` と同じ依存関係を持ちます。
    
    以前直接 *path operation* の中でしていたのと同じように、新しい依存関係である `get_current_user` は `str` として `token` を受け取るようになります:
    
    ```Python hl_lines="25"
    {!../../../docs_src/security/tutorial002.py!}
    Plain Text
    - Registered: 2024-02-25 07:19
    - Last Modified: 2024-01-28 18:36
    - 5.6K bytes
    - Viewed (0)
  8. docs/bucket/versioning/versioning_GET_versionEnabled.png

    versioning_GET_versionEnabled.png...
    PNG Image
    - Registered: 2024-02-25 19:28
    - Last Modified: 2020-06-27 17:27
    - 134.3K bytes
    - Viewed (0)
  9. docs/bucket/versioning/versioning_GET_versionEnabled_id.png

    versioning_GET_versionEnabled_id.png...
    PNG Image
    - Registered: 2024-02-25 19:28
    - Last Modified: 2020-06-27 17:27
    - 169.2K bytes
    - Viewed (0)
  10. tests/test_get_request_body.py

        name: str
        description: str = None  # type: ignore
        price: float
    
    
    @app.get("/product")
    async def create_item(product: Product):
        return product
    
    
    client = TestClient(app)
    
    
    def test_get_with_body():
        body = {"name": "Foo", "description": "Some description", "price": 5.5}
        response = client.request("GET", "/product", json=body)
        assert response.json() == body
    
    
    def test_openapi_schema():
    Python
    - Registered: 2024-02-25 07:19
    - Last Modified: 2023-06-30 18:25
    - 3.7K bytes
    - Viewed (0)
Back to top