Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 814 for gets (0.02 seconds)

  1. docs/pt/docs/tutorial/security/get-current-user.md

    # Obter Usuário Atual { #get-current-user }
    
    No capítulo anterior, o sistema de segurança (que é baseado no sistema de injeção de dependências) estava fornecendo à *função de operação de rota* um `token` como uma `str`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    Mas isso ainda não é tão útil.
    
    Vamos fazer com que ele nos forneça o usuário atual.
    
    ## Criar um modelo de usuário { #create-a-user-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/security/get-current-user.md

    # Obtener Usuario Actual { #get-current-user }
    
    En el capítulo anterior, el sistema de seguridad (que se basa en el sistema de inyección de dependencias) le estaba dando a la *path operation function* un `token` como un `str`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    Pero eso aún no es tan útil. Vamos a hacer que nos dé el usuario actual.
    
    ## Crear un modelo de usuario { #create-a-user-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/security/get-current-user.md

    ## 依存関係 `get_current_user` を作成 { #create-a-get-current-user-dependency }
    
    依存関係 `get_current_user` を作ってみましょう。
    
    依存関係はサブ依存関係を持つことができるのを覚えていますか?
    
    `get_current_user` は前に作成した `oauth2_scheme` と同じ依存関係を持ちます。
    
    以前直接 *path operation* の中でしていたのと同じように、新しい依存関係である `get_current_user` はサブ依存関係である `oauth2_scheme` から `str` として `token` を受け取るようになります:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## ユーザーの取得 { #get-the-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/security/get-current-user.md

    # 取得目前使用者 { #get-current-user }
    
    在前一章,基於依賴注入系統的安全機制會把一個 `token`(作為 `str`)提供給*路徑操作函式*:
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    但這還不太有用。
    
    讓它改為回傳目前使用者吧。
    
    ## 建立使用者模型 { #create-a-user-model }
    
    先建立一個 Pydantic 的使用者模型。
    
    就像用 Pydantic 宣告請求體一樣,我們也可以在其他地方使用它:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## 建立 `get_current_user` 依賴 { #create-a-get-current-user-dependency }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. docs/uk/docs/tutorial/security/get-current-user.md

    # Отримати поточного користувача { #get-current-user }
    
    У попередньому розділі система безпеки (яка базується на системі впровадження залежностей) передавала функції операції шляху `token` як `str`:
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    Але це ще не дуже корисно.
    
    Зробімо так, щоб вона повертала поточного користувача.
    
    ## Створити модель користувача { #create-a-user-model }
    
    Спочатку створімо модель користувача в Pydantic.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:43:14 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
         * - A new getter `getX` is added, where the old getter is a boolean getter `isX` of an upgraded property
         * - A return type is changed for a getter `getX` of an upgraded property
         *
         * We don't automatically accept changes when the @since annotation is missing, because we want to keep this information on the API.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.22.md

      Jobs that are tracked using this mechanism get the annotation `batch.kubernetes.io/job-tracking`. This is a temporary measure. Two releases after this feature graduates to beta, the annotation won't be added to Jobs anymore. ([#98817](https://...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Dec 13 12:43:45 GMT 2022
    - 454.1K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/stream-data.md

    You can create a custom sub-class of `StreamingResponse` that sets the `Content-Type` header to the type of data you're streaming.
    
    For example, you can create a `PNGStreamingResponse` that sets the `Content-Type` header to `image/png` using the `media_type` attribute:
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[6,19:20] hl[20] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          Yellow(Red<B> red) {
            red.super();
          }
    
          Class<?> getClassB() {
            return new TypeToken<B>(getClass()) {}.getRawType();
          }
    
          Red<A> getA() {
            return getSelfA();
          }
    
          Red<B> getB() {
            return getSelfB();
          }
        }
    
        Class<?> getClassDirect() {
          return new TypeToken<A>(getClass()) {}.getRawType();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

          Yellow(Red<B> red) {
            red.super();
          }
    
          Class<?> getClassB() {
            return new TypeToken<B>(getClass()) {}.getRawType();
          }
    
          Red<A> getA() {
            return getSelfA();
          }
    
          Red<B> getB() {
            return getSelfB();
          }
        }
    
        Class<?> getClassDirect() {
          return new TypeToken<A>(getClass()) {}.getRawType();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 19.6K bytes
    - Click Count (0)
Back to Top