Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 637 for declares (0.06 seconds)

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

    하지만 실제 애플리케이션에서는 보안을 위해, 사용자가 실제로 가질 수 있는 스코프만(또는 미리 정의한 것만) 추가하도록 반드시 확인해야 합니다.
    
    ///
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[157] *}
    
    ## *경로 처리*와 의존성에서 스코프 선언하기 { #declare-scopes-in-path-operations-and-dependencies }
    
    이제 `/users/me/items/`에 대한 *경로 처리*가 스코프 `items`를 요구한다고 선언합니다.
    
    이를 위해 `fastapi`에서 `Security`를 import하여 사용합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 15.7K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/settings.md

    Em seguida, ele converterá e validará os dados. Assim, quando você usar esse objeto `settings`, terá dados dos tipos que declarou (por exemplo, `items_per_user` será um `int`).
    
    ### Usar o `settings` { #use-the-settings }
    
    Depois você pode usar o novo objeto `settings` na sua aplicação:
    
    {* ../../docs_src/settings/tutorial001_py310.py hl[18:20] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  3. docs/ja/docs/features.md

    (FastAPI を使わない場合でも)Python の型の使い方を 2 分で復習したい場合は、短いチュートリアル [Python の型](python-types.md) を参照してください。
    
    型を使った標準的な Python を記述します:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare a variable as a str
    # and get editor support inside the function
    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial013_an_py310.py hl[9] *}
    
    /// note | 注意
    
    注意,在這種情況下,FastAPI 不會檢查清單的內容。
    
    例如,`list[int]` 會檢查(並文件化)清單內容為整數;但單獨使用 `list` 則不會。
    
    ///
    
    ## 宣告更多中繼資料 { #declare-more-metadata }
    
    你可以為參數加入更多資訊。
    
    這些資訊會被包含在產生的 OpenAPI 中,供文件 UI 與外部工具使用。
    
    /// note | 注意
    
    請留意,不同工具對 OpenAPI 的支援程度可能不同。
    
    有些工具可能暫時還不會顯示所有額外資訊;不過多半這些缺漏功能已在開發規劃中。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  5. src/cmd/cgo/ast.go

    					f.Preamble += commentText(cg) + "\n"
    					f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n"
    				}
    			}
    
    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    				recvType := decl.Recv.List[0].Type
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:59 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  6. docs/fr/docs/virtual-environments.md

    ///
    
    ### Installer des packages directement { #install-packages-directly }
    
    Si vous êtes pressé et ne souhaitez pas utiliser un fichier pour déclarer les dépendances de votre projet, vous pouvez les installer directement.
    
    /// tip | Astuce
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 24.5K bytes
    - Click Count (0)
  7. docs/pt/docs/index.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Evoluindo o Exemplo { #example-upgrade }
    
    Agora modifique o arquivo `main.py` para receber um corpo de uma requisição `PUT`.
    
    Declare o corpo utilizando tipos padrão Python, graças ao Pydantic.
    
    ```Python hl_lines="2  7-10 23-25"
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

            ? EMPTY
            : new ImmutableDoubleArray(array, start + startIndex, start + endIndex);
      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfDouble spliterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        return startIndex == endIndex
            ? EMPTY
            : new ImmutableIntArray(array, start + startIndex, start + endIndex);
      }
    
      @IgnoreJRERequirement // used only from APIs that use streams
      /*
       * We declare this as package-private, rather than private, to avoid generating a synthetic
       * accessor method (under -target 8) that would lack the Android flavor's @IgnoreJRERequirement.
       */
      Spliterator.OfInt spliterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  10. docs/en/docs/release-notes.md

        * This is useful while calling external services, performing costly computation, etc.
        * This also means that if a dependency was declared as a *path operation decorator* dependency, possibly at the router level (with `.include_router()`) and then it is declared again in a specific *path operation*, the dependency will be called only once.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top