Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 482 for redeclare (0.06 seconds)

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

    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## *Path operation*'larda ve dependency'lerde scope tanımlama { #declare-scopes-in-path-operations-and-dependencies }
    
    Artık `/users/me/items/` için olan *path operation*'ın `items` scope'unu gerektirdiğini tanımlıyoruz.
    
    Bunun için `fastapi` içinden `Security` import edip kullanıyoruz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/schema-extra-example.md

    # 요청 예제 데이터 선언 { #declare-request-example-data }
    
    여러분의 앱이 받을 수 있는 데이터 예제를 선언할 수 있습니다.
    
    여기 이를 위한 몇 가지 방식이 있습니다.
    
    ## Pydantic 모델 속 추가 JSON 스키마 데이터 { #extra-json-schema-data-in-pydantic-models }
    
    생성된 JSON 스키마에 추가될 Pydantic 모델을 위한 `examples`을 선언할 수 있습니다.
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    추가 정보는 있는 그대로 해당 모델의 **JSON 스키마** 결과에 추가되고, API 문서에서 사용합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/dependencies/index.md

    ///
    
    ### 匯入 `Depends` { #import-depends }
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### 在「被依賴者」(dependant)中宣告依賴 { #declare-the-dependency-in-the-dependant }
    
    和你在「路徑操作函式」參數上使用 `Body`、`Query` 等方式一樣,針對新參數使用 `Depends`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

              }
            }
          }
        },
        /*
         * This one comes last to work around b/367716565. (One *possible* alternative would be to not
         * declare any methods in this enum, converting assertFailsToDecode into a static method that is
         * implemented with a `switch`. I haven't tested that.)
         */
        @GwtIncompatible // decodingStream(Reader)
        DECODING_STREAM {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/schema-extra-example.md

    # リクエストのExampleデータの宣言 { #declare-request-example-data }
    
    アプリが受け取れるデータの例を宣言できます。
    
    ここでは、それを行ういくつかの方法を紹介します。
    
    ## Pydanticモデルでの追加JSON Schemaデータ { #extra-json-schema-data-in-pydantic-models }
    
    生成されるJSON Schemaに追加されるPydanticモデルの`examples`を宣言できます。
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    その追加情報は、そのモデルの出力**JSON Schema**にそのまま追加され、APIドキュメントで使用されます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/dependencies/index.md

    ///
    
    ### Importer `Depends` { #import-depends }
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Déclarer la dépendance, dans le « dependant » { #declare-the-dependency-in-the-dependant }
    
    De la même manière que vous utilisez `Body`, `Query`, etc. avec les paramètres de votre fonction de chemin d’accès, utilisez `Depends` avec un nouveau paramètre :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  7. fastapi/.agents/skills/fastapi/SKILL.md

            name="Foo", description="A very nice Item", secret_key="supersecret"
        )
        return item
    ```
    
    ## Performance
    
    Do not use `ORJSONResponse` or `UJSONResponse`, they are deprecated.
    
    Instead, declare a return type or response model. Pydantic will handle the data serialization on the Rust side.
    
    ## Including Routers
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/path-params-numeric-validations.md

    古いバージョンの場合、`Annotated`を使おうとするとエラーになります。
    
    `Annotated`を使用する前に、FastAPI のバージョンを少なくとも 0.95.1 まで[アップグレードしてください](../deployment/versions.md#upgrading-the-fastapi-versions)。
    
    ///
    
    ## メタデータの宣言 { #declare-metadata }
    
    パラメータは`Query`と同じものを宣言することができます。
    
    例えば、パスパラメータ`item_id`に対して`title`のメタデータを宣言するには以下のようにします:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note | 備考
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  9. docs/pt/docs/python-types.md

    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    #### List { #list }
    
    Por exemplo, vamos definir uma variável para ser uma `list` de `str`.
    
    Declare a variável, com a mesma sintaxe com dois pontos (`:`).
    
    Como o tipo, coloque `list`.
    
    Como a lista é um tipo que contém tipos internos, você os coloca entre colchetes:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  10. docs/uk/docs/advanced/security/oauth2-scopes.md

    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## Оголосіть scopes в операціях шляху та залежностях { #declare-scopes-in-path-operations-and-dependencies }
    
    Тепер ми оголошуємо, що операція шляху для `/users/me/items/` вимагає scope `items`.
    
    Для цього імпортуємо і використовуємо `Security` з `fastapi`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 20.2K bytes
    - Click Count (0)
Back to Top