Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 638 for installed (0.08 seconds)

  1. docs/zh-hant/docs/tutorial/handling-errors.md

    ## 新增自訂標頭 { #add-custom-headers }
    
    有些情況需要在 HTTP 錯誤回應中加入自訂標頭,例如某些安全性情境。
    
    你大概不需要在程式碼中直接使用。
    
    但若你在進階情境中需要,可以這樣加入自訂標頭:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    ## 安裝自訂例外處理器 { #install-custom-exception-handlers }
    
    你可以使用 [Starlette 的相同例外工具](https://www.starlette.dev/exceptions/) 來加入自訂例外處理器。
    
    假設你有一個自訂例外 `UnicornException`,你(或你使用的函式庫)可能會 `raise` 它。
    
    而你想用 FastAPI 全域處理這個例外。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial008b_an_py310.py hl[18:22,31] *}
    
    Si quieres capturar excepciones y crear un response personalizado en base a eso, crea un [Manejador de Excepciones Personalizado](../handling-errors.md#install-custom-exception-handlers).
    
    ## Dependencias con `yield` y `except` { #dependencies-with-yield-and-except }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    {* ../../docs_src/dependencies/tutorial008b_an_py310.py hl[18:22,31] *}
    
    If you want to catch exceptions and create a custom response based on that, create a [Custom Exception Handler](../handling-errors.md#install-custom-exception-handlers).
    
    ## Dependencies with `yield` and `except` { #dependencies-with-yield-and-except }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/_llm-test.md

    ///
    
    ////
    
    //// tab | 資訊
    
    提示設計者可以選擇是否將中性引號轉換為排印引號。保留原樣也可以。
    
    例如請見 `docs/de/llm-prompt.md` 中的 `### Quotes` 小節。
    
    ////
    
    ## 程式碼片段中的引號 { #quotes-in-code-snippets }
    
    //// tab | 測試
    
    `pip install "foo[bar]"`
    
    程式碼片段中字串常值的例子:"this"、'that'。
    
    較難的程式碼片段中字串常值例子:`f"I like {'oranges' if orange else "apples"}"`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. docs/fr/docs/tutorial/dependencies/dependencies-with-yield.md

    Si vous souhaitez intercepter des exceptions et créer une réponse personnalisée en fonction de cela, créez un [Gestionnaire d'exceptions personnalisé](../handling-errors.md#install-custom-exception-handlers).
    
    ## Utiliser des dépendances avec `yield` et `except` { #dependencies-with-yield-and-except }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/sql-databases.md

    ///
    
    이 튜토리얼은 매우 간단하고 짧습니다. 데이터베이스 기본 개념, SQL, 또는 더 고급 기능에 대해 배우고 싶다면, [SQLModel 문서](https://sqlmodel.tiangolo.com/)를 참고하세요.
    
    ## `SQLModel` 설치하기 { #install-sqlmodel }
    
    먼저, [가상 환경](../virtual-environments.md)을 생성하고 활성화한 다음, `sqlmodel`을 설치하세요:
    
    <div class="termy">
    
    ```console
    $ pip install sqlmodel
    ---> 100%
    ```
    
    </div>
    
    ## 단일 모델로 애플리케이션 생성하기 { #create-the-app-with-a-single-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 18.6K bytes
    - Click Count (0)
  7. docs/ko/docs/advanced/advanced-dependencies.md

    FastAPI 0.106.0 이전에는 `yield` 이후에 예외를 발생시키는 것이 불가능했습니다. `yield`가 있는 의존성의 종료 코드는 응답이 전송된 *후에* 실행되었기 때문에, [예외 핸들러](../tutorial/handling-errors.md#install-custom-exception-handlers)가 이미 실행된 뒤였습니다.
    
    이는 주로 백그라운드 태스크 안에서 의존성이 "yield"한 동일한 객체들을 사용할 수 있게 하기 위한 설계였습니다. 백그라운드 태스크가 끝난 뒤에 종료 코드가 실행되었기 때문입니다.
    
    이는 응답이 네트워크를 통해 전달되기를 기다리는 동안 리소스를 점유하지 않기 위한 의도로 FastAPI 0.106.0에서 변경되었습니다.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  8. docs/en/docs/_llm-test.md

    See for example section `### Quotes` in `docs/de/llm-prompt.md`.
    
    ////
    
    ## Quotes in code snippets { #quotes-in-code-snippets }
    
    //// tab | Test
    
    `pip install "foo[bar]"`
    
    Examples for string literals in code snippets: `"this"`, `'that'`.
    
    A difficult example for string literals in code snippets: `f"I like {'oranges' if orange else "apples"}"`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. misc/go_android_exec/main.go

    	// and recreate GOROOT.
    	if err := adb("exec-out", "rm", "-rf", deviceRoot); err != nil {
    		return err
    	}
    
    	// Build Go for Android.
    	cmd = exec.Command(goTool, "install", "cmd")
    	out, err = cmd.CombinedOutput()
    	if err != nil {
    		if len(bytes.TrimSpace(out)) > 0 {
    			log.Printf("\n%s", out)
    		}
    		return fmt.Errorf("%v: %w", cmd, err)
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  10. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial008b_an_py310.py hl[18:22,31] *}
    
    Se você quiser capturar exceções e criar uma resposta personalizada com base nisso, crie um [Manipulador de Exceções Customizado](../handling-errors.md#install-custom-exception-handlers).
    
    ## Dependências com `yield` e `except` { #dependencies-with-yield-and-except }
    
    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