- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 1,460 for example2 (0.11 sec)
-
docs/en/docs/tutorial/middleware.md
/// ### Before and after the `response` You can add code to be run with the `request`, before any *path operation* receives it. And also after the `response` is generated, before returning it. For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response: ```Python hl_lines="10 12-13" {!../../docs_src/middleware/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
```Python hl_lines="11" {!../../docs_src/handling_errors/tutorial001.py!} ``` ### π π¨ π₯ π©βπ» π¨ `http://example.com/items/foo` ( `item_id` `"foo"`), π π©βπ» π π¨ πΊπΈπ π π 2οΈβ£0οΈβ£0οΈβ£, & π» π¨: ```JSON { "item": "The Foo Wrestlers" } ``` βοΈ π₯ π©βπ» π¨ `http://example.com/items/bar` (π«-π« `item_id` `"bar"`), π π©βπ» π π¨ πΊπΈπ π π 4οΈβ£0οΈβ£4οΈβ£ ("π« π" β), & π» π¨: ```JSON {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.3K bytes - Viewed (0) -
common-protos/k8s.io/api/policy/v1/generated.proto
message PodDisruptionBudgetSpec { // An eviction is allowed if at least "minAvailable" pods selected by // "selector" will still be available after the eviction, i.e. even in the // absence of the evicted pod. So for example you can prevent all voluntary // evictions by specifying "100%". // +optional optional k8s.io.apimachinery.pkg.util.intstr.IntOrString minAvailable = 1;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Repository.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/NullnessCasts.java
* never use this method, preferring instead to call {@code requireNonNull} so as to benefit from * its runtime check. * * <p>An example use case for this method is in implementing an {@code Iterator<T>} whose {@code * next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 17 15:44:29 UTC 2021 - 3.1K bytes - Viewed (0) -
internal/s3select/jstream/README.md
Unlike most JSON parsers, `jstream` is document position- and depth-aware -- this enables the extraction of values at a specified depth, eliminating the overhead of allocating encompassing arrays or objects; e.g: Using the below example document: <img width="85%" src="https://bradley.codes/static/img/jstream-levels.gif" alt="jstream"/> we can choose to extract and act only the objects within the top-level array: ```go f, _ := os.Open("input.json")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * Abstract implementation of {@link InvocationHandler} that handles {@link Object#equals}, {@link * Object#hashCode} and {@link Object#toString}. For example: * * <pre> * class Unsupported extends AbstractInvocationHandler { * protected Object handleInvocation(Object proxy, Method method, Object[] args) { * throw new UnsupportedOperationException(); * } * }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteSink.java
* required to be a {@link BufferedOutputStream} in order to allow implementations to simply * delegate to {@link #openStream()} when the stream returned by that method does not benefit from * additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new, * independent stream each time it is called. * * <p>The caller is responsible for ensuring that the returned stream is closed. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 16:55:09 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/graph/SuccessorsFunction.java
* breadth first traversal) that only need a way of accessing the successors of a node in a graph. * * <h3>Usage</h3> * * Given an algorithm, for example: * * <pre>{@code * public <N> someGraphAlgorithm(N startNode, SuccessorsFunction<N> successorsFunction); * }</pre> * * you will invoke it depending on the graph representation you're using. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.3K bytes - Viewed (0) -
common-protos/k8s.io/api/node/v1/generated.proto
// are specific to the node & CRI configuration. It is assumed that all // handlers are available on every node, and handlers of the same name are // equivalent on every node. // For example, a handler called "runc" might specify that the runc OCI // runtime (using native Linux containers) will be used to run the containers // in a pod.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 4.4K bytes - Viewed (0)