Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4621 - 4630 of 4,666 for inT (0.02 seconds)

  1. docs/zh/docs/advanced/custom-response.md

    ///
    
    ### `Response` { #response }
    
    其他全部的响应都继承自主类 `Response`。
    
    你可以直接返回它。
    
    `Response` 类接受如下参数:
    
    * `content` - 一个 `str` 或者 `bytes`。
    * `status_code` - 一个 `int` 类型的 HTTP 状态码。
    * `headers` - 一个由字符串组成的 `dict`。
    * `media_type` - 一个给出媒体类型的 `str`,比如 `"text/html"`。
    
    FastAPI(实际上是 Starlette)将自动包含 Content-Length 的头。它还将包含一个基于 `media_type` 的 Content-Type 头,并为文本类型附加一个字符集。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  2. docs/fr/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Opérations asynchrones pour créer les burgers
        return burgers
    ```
    
    ... et non `def` :
    
    ```Python hl_lines="2"
    # Ceci n'est pas asynchrone
    def get_sequential_burgers(number: int):
        # Opérations séquentielles pour créer les burgers
        return burgers
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 27.3K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/custom-response.md

    Puedes devolverla directamente.
    
    Acepta los siguientes parámetros:
    
    * `content` - Un `str` o `bytes`.
    * `status_code` - Un código de estado HTTP `int`.
    * `headers` - Un `dict` de strings.
    * `media_type` - Un `str` que da el media type. Por ejemplo, `"text/html"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. docs/pt/docs/advanced/custom-response.md

    Você pode retorná-la diretamente.
    
    Ela aceita os seguintes parâmetros:
    
    * `content` - Uma `str` ou `bytes`.
    * `status_code` - Um código de status HTTP do tipo `int`.
    * `headers` - Um `dict` de strings.
    * `media_type` - Uma `str` informando o media type. E.g. `"text/html"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. 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)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

        assertThat(log).containsExactly("red:run@100000", "blue:run@200000")
        assertThat(taskFaker.executeCallCount).isEqualTo(2)
    
        taskFaker.assertNoMoreTasks()
      }
    
      private val Int.µs: Long
        get() = this * 1_000L
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 23K bytes
    - Click Count (0)
  7. docs/uk/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 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.9K bytes
    - Click Count (0)
  8. docs/pt/docs/_llm-test.md

    ////
    
    ## Termos usados na documentação { #terms-used-in-the-docs }
    
    //// tab | Teste
    
    * você
    * seu
    
    * por exemplo
    * etc.
    
    * `foo` como um `int`
    * `bar` como uma `str`
    * `baz` como uma `list`
    
    * o Tutorial - Guia do Usuário
    * o Guia do Usuário Avançado
    * a documentação do SQLModel
    * a documentação da API
    * a documentação automática
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  9. docs/es/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # Hacer algunas cosas asíncronas para crear las hamburguesas
        return burgers
    ```
    
    ...en lugar de `def`:
    
    ```Python hl_lines="2"
    # Esto no es asíncrono
    def get_sequential_burgers(number: int):
        # Hacer algunas cosas secuenciales para crear las hamburguesas
        return burgers
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        )
      }
    
      private fun assertEvents(vararg expected: String) {
        val actual = generateSequence { routePlanner.events.poll() }.toList()
        assertThat(actual).containsExactly(*expected)
      }
    
      private val Int.ms: Long
        get() = this * 1_000_000L
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
Back to Top