Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 971 - 980 of 1,052 for DEF (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/pt/docs/tutorial/first-steps.md

    Ela será chamada pelo **FastAPI** sempre que receber uma requisição para a URL "`/`" usando uma operação `GET`.
    
    Neste caso, é uma função `async`.
    
    ---
    
    Você também pode defini-la como uma função normal em vez de `async def`:
    
    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note | Nota
    
    Se você não sabe a diferença, verifique o [Async: *"Com pressa?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    ///
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/first-steps.md

    Será llamada por **FastAPI** cuando reciba un request en la URL "`/`" usando una operación `GET`.
    
    En este caso, es una función `async`.
    
    ---
    
    También podrías definirla como una función normal en lugar de `async def`:
    
    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note | Nota
    
    Si no sabes la diferencia, Revisa la sección [Async: *"¿Tienes prisa?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

         *
         * @param data the report data containing a description to parse
         * @return accepted api changes reported upon, as a file
         */
        private static File getAcceptedApiChangesFile(RichReportData data) {
            def matcher = data.description =~ acceptedChangesRegex
            return new File(matcher[0][1])
        }
    
        private static RichReportData enrichReport(RichReportData data) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

          MockResponse
            .Builder()
            .body("def")
            .onResponseEnd(ShutdownConnection)
            .build(),
        )
        val call2 =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("def")
        response2.close()
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 24.3K bytes
    - Click Count (2)
  5. docs/ja/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001.py hl[7] *}
    
    これは、Pythonの関数です。
    
    この関数は、`GET`オペレーションを使ったURL「`/`」へのリクエストを受け取るたびに**FastAPI**によって呼び出されます。
    
    この場合、この関数は`async`関数です。
    
    ---
    
    `async def`の代わりに通常の関数として定義することもできます:
    
    {* ../../docs_src/first_steps/tutorial003.py hl[7] *}
    
    /// note | 備考
    
    違いが分からない場合は、[Async: *"急いでいますか?"*](../async.md#_1){.internal-link target=_blank}を確認してください。
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 11K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/request-files.md

    For example, inside of an `async` *path operation function* you can get the contents with:
    
    ```Python
    contents = await myfile.read()
    ```
    
    If you are inside of a normal `def` *path operation function*, you can access the `UploadFile.file` directly, for example:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | `async` Technical Details
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/request-files.md

    Por exemplo, dentro de uma função de *operação de rota* `assíncrona`, você pode obter o conteúdo com:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Se você estiver dentro de uma função de *operação de rota* normal `def`, você pode acessar o `UploadFile.file` diretamente, por exemplo:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalhes Técnicos do `async`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/first-steps.md

    It will be called by **FastAPI** whenever it receives a request to the URL "`/`" using a `GET` operation.
    
    In this case, it is an `async` function.
    
    ---
    
    You could also define it as a normal function instead of `async def`:
    
    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note
    
    If you don't know the difference, check the [Async: *"In a hurry?"*](../async.md#in-a-hurry){.internal-link target=_blank}.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/settings.md

    ```Python
    Settings()
    ```
    
    se crearía un nuevo objeto `Settings`, y al crearse leería el archivo `.env` nuevamente.
    
    Si la función de dependencia fuera simplemente así:
    
    ```Python
    def get_settings():
        return Settings()
    ```
    
    crearíamos ese objeto para cada request, y estaríamos leyendo el archivo `.env` para cada request. ⚠️
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/first-steps.md

    In diesem Fall handelt es sich um eine `async`-Funktion.
    
    ---
    
    Sie könnten sie auch als normale Funktion anstelle von `async def` definieren:
    
    {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *}
    
    /// note | Hinweis
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.3K bytes
    - Click Count (0)
Back to Top