Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for receiver (0.04 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.min;
    import static java.util.Arrays.asList;
    
    import com.google.common.cache.CacheTesting.Receiver;
    import com.google.common.cache.TestingCacheLoaders.IdentityLoader;
    import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener;
    import java.util.List;
    import java.util.Set;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. tests/benchmarks/test_general_performance.py

    ):
        return ItemOut(name=item.name, value=item.value, dep=dep)
    
    
    @app.post("/sync/large-receive")
    def sync_large_receive(payload: LargeIn):
        return {"received": len(payload.items)}
    
    
    @app.post("/async/large-receive")
    async def async_large_receive(payload: LargeIn):
        return {"received": len(payload.items)}
    
    
    @app.get("/sync/large-dict-no-response-model")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/cookie-param-models.md

    If a client tries to send some **extra cookies**, they will receive an **error** response.
    
    Poor cookie banners with all their effort to get your consent for the <abbr title="This is another joke. Don't pay attention to me. Have some coffee for your cookie. ☕">API to reject it</abbr>. 🍪
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,79:87] *}
    
    ## Update the dependencies { #update-the-dependencies }
    
    Update `get_current_user` to receive the same token as before, but this time, using JWT tokens.
    
    Decode the received token, verify it, and return the current user.
    
    If the token is invalid, return an HTTP error right away.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[90:107] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/custom-request-and-route.md

    Um `Request` também tem um `request.receive`, que é uma função para "receber" o corpo da requisição.
    
    O dicionário `scope` e a função `receive` são ambos parte da especificação ASGI.
    
    E essas duas coisas, `scope` e `receive`, são o que é necessário para criar uma nova instância de `Request`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/handling-errors.md

    The `RequestValidationError` contains the `body` it received with invalid data.
    
    You could use it while developing your app to log the body and debug it, return it to the user, etc.
    
    {* ../../docs_src/handling_errors/tutorial005_py39.py hl[14] *}
    
    Now try sending an invalid item like:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body-updates.md

        * This way you can update only the values actually set by the user, instead of overriding values already stored with default values in your model.
    * Create a copy of the stored model, updating its attributes with the received partial updates (using the `update` parameter).
    * Convert the copied model to something that can be stored in your DB (for example, using the `jsonable_encoder`).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/response-status-code.md

    ///
    
    The `status_code` parameter receives a number with the HTTP status code.
    
    /// info
    
    `status_code` can alternatively also receive an `IntEnum`, such as Python's <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/background-tasks.md

    Inside of your *path operation function*, pass your task function to the *background tasks* object with the method `.add_task()`:
    
    {* ../../docs_src/background_tasks/tutorial001_py39.py hl[14] *}
    
    `.add_task()` receives as arguments:
    
    * A task function to be run in the background (`write_notification`).
    * Any sequence of arguments that should be passed to the task function in order (`email`).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/middleware.md

    ```Python
    from fastapi import FastAPI
    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    app.add_middleware(UnicornMiddleware, some_config="rainbow")
    ```
    
    `app.add_middleware()` receives a middleware class as the first argument and any additional arguments to be passed to the middleware.
    
    ## Integrated middlewares { #integrated-middlewares }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top