Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for informal (0.15 sec)

  1. docs/features/caching.md

    Cache Events are exposed via the EventListener API.  Typical scenarios are below.
    
    ### Cache Hit
    
    In the ideal scenario the cache can fulfill the request without any conditional call to the network.
    This will skip the normal events such as DNS, connecting to the network, and downloading the response body.
    
    As recommended by the HTTP RFC the max age of a document is defaulted to 10% of the 
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/extending-openapi.md

    # Extending OpenAPI
    
    There are some cases where you might need to modify the generated OpenAPI schema.
    
    In this section you will see how.
    
    ## The normal process
    
    The normal (default) process, is as follows.
    
    A `FastAPI` application (instance) has an `.openapi()` method that is expected to return the OpenAPI schema.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

          log.put("normal task running")
          return@schedule -1L
        }
    
        queue.idleLatch().await(500, TimeUnit.MILLISECONDS)
    
        assertThat(log.take()).isEqualTo("failing task running")
        assertThat(log.take()).isEqualTo("uncaught exception: java.lang.RuntimeException: boom!")
        assertThat(log.take()).isEqualTo("normal task running")
        assertThat(log).isEmpty()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/sql-databases-peewee.md

    As `get_db()` is a normal `def` function, **FastAPI** will make it run in a threadpool, with a *copy* of the "context", holding the same value for the context variable (the `dict` with the reset database state). Then it can add database state to that `dict`, like the connection, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. docs/en/docs/async.md

    ### Other utility functions
    
    Any other utility function that you call directly can be created with normal `def` or `async def` and FastAPI won't affect the way you call it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/async-tests.md

    ## HTTPX
    
    Even if your **FastAPI** application uses normal `def` functions instead of `async def`, it is still an `async` application underneath.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="2  7  9"
    {!../../../docs_src/custom_response/tutorial006c.py!}
    ```
    
    ### `StreamingResponse`
    
    Takes an async generator or a normal generator/iterator and streams the response body.
    
    ```Python hl_lines="2  14"
    {!../../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Using `StreamingResponse` with file-like objects
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-data-types.md

        ```Python hl_lines="1  2  12-16"
        {!> ../../../docs_src/extra_data_types/tutorial001.py!}
        ```
    
    Note that the parameters inside the function have their natural data type, and you can, for example, perform normal date manipulations, like:
    
    === "Python 3.10+"
    
        ```Python hl_lines="18-19"
        {!> ../../../docs_src/extra_data_types/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      optional string subresource = 1;
    
      // responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns.
      // Some subresources do not return normal resources, these will have null return types.
      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind responseKind = 2;
    
      // acceptedTypes describes the kinds that this endpoint accepts.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/first-steps.md

        Você o coloca em cima de uma função. Como um chapéu decorativo (acho que é daí que vem o termo).
    
        Um "decorador" pega a função abaixo e faz algo com ela.
    
        Em nosso caso, este decorador informa ao **FastAPI** que a função abaixo corresponde a **rota** `/` com uma **operação** `get`.
    
        É o "**decorador de rota**".
    
    Você também pode usar as outras operações:
    
    * `@app.post()`
    * `@app.put()`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top