Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 850 for tutoriel (0.05 seconds)

  1. docs/zh-hant/docs/_llm-test.md

    * <dfn title="被設定為連接並以某種方式一起工作的機器群組。">叢集</dfn>
    * <dfn title="一種機器學習方法,使用具備多個隱藏層的人工神經網路,在輸入與輸出層之間建立完整的內部結構">深度學習</dfn>
    
    ## 標題 { #headings }
    
    //// tab | 測試
    
    ### 開發網頁應用程式 - 教學 { #develop-a-webapp-a-tutorial }
    
    Hello.
    
    ### 型別提示與註解 { #type-hints-and-annotations }
    
    Hello again.
    
    ### 超類與子類別 { #super-and-subclasses }
    
    Hello again.
    
    ////
    
    //// tab | 資訊
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/query-params-str-validations.md

        "bar"
      ]
    }
    ```
    
    /// tip | 豆知識
    
    上述の例のように、`list`型のクエリパラメータを宣言するには明示的に`Query`を使用する必要があります。そうしない場合、リクエストボディと解釈されます。
    
    ///
    
    対話的APIドキュメントは複数の値を許可するために自動的に更新されます。
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### デフォルト値を持つ、クエリパラメータのリスト / 複数の値 { #query-parameter-list-multiple-values-with-defaults }
    
    また、値が指定されていない場合はデフォルトの `list` を定義することもできます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    ## 上下文管理器 { #context-managers }
    
    ### 什么是“上下文管理器” { #what-are-context-managers }
    
    “上下文管理器”是你可以在 `with` 语句中使用的任意 Python 对象。
    
    例如,[你可以用 `with` 来读取文件](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底层,`open("./somefile.txt")` 会创建一个“上下文管理器”对象。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    以下にあるように:
    
    {* ../../docs_src/dependencies/tutorial003_an_py310.py hl[19] *}
    
    しかし、型を宣言することは推奨されています。そうすれば、エディタは`commons`のパラメータとして何が渡されるかを知ることができ、コードの補完や型チェックなどを行うのに役立ちます:
    
    <img src="/img/tutorial/dependencies/image02.png">
    
    ## ショートカット { #shortcut }
    
    しかし、ここでは`CommonQueryParams`を2回書くというコードの繰り返しが発生していることがわかります:
    
    //// tab | Python 3.10+
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/features.md

    ### 安全性及身份驗證 { #security-and-authentication }
    
    FastAPI 已經整合了安全性和身份驗證的功能,但不會強制與特定的資料庫或資料模型進行綁定。
    
    OpenAPI 中定義的安全模式,包括:
    
    * HTTP 基本認證。
    * **OAuth2**(也使用 **JWT tokens**)。在 [OAuth2 with JWT](tutorial/security/oauth2-jwt.md) 查看教學。
    * API 密鑰,在:
        * 標頭(Header)
        * 查詢參數
        * Cookies,等等。
    
    加上來自 Starlette(包括 **session cookie**)的所有安全特性。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    «Контекстные менеджеры» — это любые объекты Python, которые можно использовать в операторе `with`.
    
    Например, [можно использовать `with` для чтения файла](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md

    ## 情境管理器 { #context-managers }
    
    ### 什麼是「情境管理器」 { #what-are-context-managers }
    
    「情境管理器」是那些你可以在 `with` 陳述式中使用的 Python 物件。
    
    例如,[你可以用 `with` 來讀取檔案](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    在底層,`open("./somefile.txt")` 會建立一個稱為「情境管理器」的物件。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/async.md

    不過,在這兩種情況下,**FastAPI** [仍然很快](index.md#performance),至少與你之前的框架相當(或者更快)。
    
    ### 依賴項(Dependencies) { #dependencies }
    
    同樣適用於[依賴項](tutorial/dependencies/index.md)。如果依賴項是一個標準的 `def` 函式,而不是 `async def`,那麼它在外部的執行緒池被運行。
    
    ### 子依賴項 { #sub-dependencies }
    
    你可以擁有多個相互依賴的依賴項和[子依賴項](tutorial/dependencies/sub-dependencies.md)(作為函式定義的參數),其中一些可能是用 `async def` 宣告,也可能是用 `def` 宣告。它們仍然可以正常運作,用 `def` 定義的那些將會在外部的執行緒中呼叫(來自執行緒池),而不是被「等待」。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  9. docs/zh/docs/async.md

    在这两种情况下,与你之前的框架相比,**FastAPI** 可能[仍然很快](index.md#performance)。
    
    ### 依赖 { #dependencies }
    
    这同样适用于[依赖](tutorial/dependencies/index.md)。如果一个依赖是标准的 `def` 函数而不是 `async def`,它将被运行在外部线程池中。
    
    ### 子依赖 { #sub-dependencies }
    
    你可以拥有多个相互依赖的依赖以及[子依赖](tutorial/dependencies/sub-dependencies.md) (作为函数的参数),它们中的一些可能是通过 `async def` 声明,也可能是通过 `def` 声明。它们仍然可以正常工作,这些通过 `def` 声明的函数将会在外部线程中调用(来自线程池),而不是"被等待"。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    "Gerenciadores de Contexto" são qualquer um dos objetos Python que podem ser utilizados com a declaração `with`.
    
    Por exemplo, [você pode utilizar `with` para ler um arquivo](https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files):
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 13.8K bytes
    - Click Count (0)
Back to Top