Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 152 for decorators (0.65 seconds)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        return (list instanceof RandomAccess)
            ? new RandomAccessWrappedList(key, list, ancestor)
            : new WrappedList(key, list, ancestor);
      }
    
      /**
       * Collection decorator that stays in sync with the multimap values for a key. There are two kinds
       * of wrapped collections: full and subcollections. Both have a delegate pointing to the
       * underlying collection class.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/escape/CharEscaperBuilder.java

     * CharEscaper based on the generated array.
     *
     * @author Sven Mawson
     * @since 15.0
     */
    @GwtCompatible
    public final class CharEscaperBuilder {
      /**
       * Simple decorator that turns an array of replacement char[]s into a CharEscaper, this results in
       * a very fast escape method.
       */
      private static final class CharArrayDecorator extends CharEscaper {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/middleware.md

    ///
    
    ## Create a middleware { #create-a-middleware }
    
    To create a middleware you use the decorator `@app.middleware("http")` on top of a function.
    
    The middleware function receives:
    
    * The `request`.
    * A function `call_next` that will receive the `request` as a parameter.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. docs/es/docs/features.md

        * Puedes tener objetos JSON profundamente **anidados** y validarlos todos y anotarlos.
    * **Extensible**:
        * Pydantic permite definir tipos de datos personalizados o puedes extender la validación con métodos en un modelo decorados con el decorador validator.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/settings.md

    ```Python
    def get_settings():
        return Settings()
    ```
    
    we would create that object for each request, and we would be reading the `.env` file for each request. ⚠️
    
    But as we are using the `@lru_cache` decorator on top, the `Settings` object will be created only once, the first time it's called. ✔️
    
    {* ../../docs_src/settings/app03_an_py39/main.py hl[1,11] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/custom-response.md

    Pero también puedes declarar el `Response` que quieres usar (por ejemplo, cualquier subclase de `Response`), en el *path operation decorator* usando el parámetro `response_class`.
    
    Los contenidos que devuelvas desde tu *path operation function* se colocarán dentro de esa `Response`.
    
    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)
  7. docs/es/docs/advanced/testing-dependencies.md

    /// tip | Consejo
    
    Puedes sobreescribir una dependencia utilizada en cualquier lugar de tu aplicación **FastAPI**.
    
    La dependencia original podría ser utilizada en una *path operation function*, un *path operation decorator* (cuando no usas el valor de retorno), una llamada a `.include_router()`, etc.
    
    FastAPI todavía podrá sobrescribirla.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/testing-dependencies.md

    /// tip
    
    You can set a dependency override for a dependency used anywhere in your **FastAPI** application.
    
    The original dependency could be used in a *path operation function*, a *path operation decorator* (when you don't use the return value), a `.include_router()` call, etc.
    
    FastAPI will still be able to override it.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/custom-response.md

    But you can also declare the `Response` that you want to be used (e.g. any `Response` subclass), in the *path operation decorator* using the `response_class` parameter.
    
    The contents that you return from your *path operation function* will be put inside of that `Response`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    The only new thing is the `callbacks=invoices_callback_router.routes` as an argument to the *path operation decorator*. We'll see what that is next.
    
    ## Documenting the callback { #documenting-the-callback }
    
    The actual callback code will depend heavily on your own API app.
    
    And it will probably vary a lot from one app to the next.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top