Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 856 for Get (0.14 sec)

  1. 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: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/security/get-current-user.md

        ```
    
    ## Eine `get_current_user`-Abhängigkeit erstellen
    
    Erstellen wir eine Abhängigkeit `get_current_user`.
    
    Erinnern Sie sich, dass Abhängigkeiten Unterabhängigkeiten haben können?
    
    `get_current_user` wird seinerseits von `oauth2_scheme` abhängen, das wir zuvor erstellt haben.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:08:05 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. 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: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  4. 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!}
    ```
    
    ## 获取用户
    
    `get_current_user` 使用创建的(伪)工具函数,该函数接收 `str` 类型的令牌,并返回 Pydantic 的 `User` 模型:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:46:46 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. 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️⃣ & 🔛"
    
        ```Python hl_lines="25"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  6. 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: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 18:36:35 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt

            override val diagnosticClass get() = UnsupportedSuspendTest::class
        }
    
        interface NewInferenceError : KtFirDiagnostic<PsiElement> {
            override val diagnosticClass get() = NewInferenceError::class
            val error: String
        }
    
        interface OtherError : KtFirDiagnostic<PsiElement> {
            override val diagnosticClass get() = OtherError::class
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 171.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescKotlinPropertySymbol.kt

            get() = withValidityAssertion { DescriptorUtils.isEnumEntry(descriptor) }
    
        override val isOverride: Boolean
            get() = withValidityAssertion { descriptor.isExplicitOverride }
    
        override val isActual: Boolean
            get() = withValidityAssertion { descriptor.isActual }
    
        override val isExpect: Boolean
            get() = withValidityAssertion { descriptor.isExpect }
    
        override val hasGetter: Boolean
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiDefaultPropertySetterSymbol.kt

        }
    
        override val origin: KtSymbolOrigin
            get() = withValidityAssertion { propertyPsi.ktSymbolOrigin }
    
        override val psi: PsiElement?
            get() = withValidityAssertion { null }
    
        override val isDefault: Boolean
            get() = withValidityAssertion { true }
    
        override val isInline: Boolean
            get() = withValidityAssertion { propertyPsi.hasModifier(KtTokens.OVERRIDE_KEYWORD) }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiPropertySetterSymbol.kt

            get() = withValidityAssertion { psi.hasModifier(KtTokens.INLINE_KEYWORD) || psi.property.hasModifier(KtTokens.INLINE_KEYWORD) }
    
        override val isOverride: Boolean
            get() = withValidityAssertion { psi.property.hasModifier(KtTokens.OVERRIDE_KEYWORD) }
    
        override val hasBody: Boolean
            get() = withValidityAssertion { psi.hasBody() }
    
        override val valueParameters: List<KtValueParameterSymbol>
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top