- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 1,563 for examples (0.06 sec)
-
docs/iam/opa.md
--set=decision_logs.console=true ``` ### 2. Create a sample OPA Policy In another terminal, create a policy that allows root user all access and for all other users denies `PutObject`: ```sh cat > example.rego <<EOF package httpapi.authz import input default allow = false # Allow the root user to perform any action. allow { input.owner == true }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 2.3K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
* `allow_origins` - A list of origins that should be permitted to make cross-origin requests. E.g. `['https://example.org', 'https://www.example.org']`. You can use `['*']` to allow any origin. * `allow_origin_regex` - A regex string to match against origins that should be permitted to make cross-origin requests. e.g. `'https://.*\.example\.org'`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.1K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
/// You can extend the OpenAPI schema for a *path operation* using the parameter `openapi_extra`. ### OpenAPI Extensions This `openapi_extra` can be helpful, for example, to declare [OpenAPI Extensions](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#specificationExtensions): ```Python hl_lines="6" {!../../docs_src/path_operation_advanced_configuration/tutorial005.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.6K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
configCmd := &cobra.Command{ Use: "ztunnel-config", Short: "Update or retrieve current Ztunnel configuration.", Long: "A group of commands used to update or retrieve Ztunnel configuration from a Ztunnel instance.", Example: ` # Retrieve summary about workload configuration istioctl ztunnel-config workload # Retrieve summary about certificates istioctl ztunnel-config certificates`, Aliases: []string{"zc"}, }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 19:17:45 UTC 2024 - 22.2K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
As all these methods are `async` methods, you need to "await" them. 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() ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseCommonTest.kt
assertThat(response.code).isEqualTo(0) } @Test fun defaultResponseBodyIsEmpty() { val response = Response.Builder() .request( Request.Builder() .url("https://example.com/") .build(), ) .protocol(Protocol.HTTP_1_1) .code(200) .message("OK") .build() assertThat(response.body.contentType()).isNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/bug_report.yaml
description: Please describe the issue you encountered. validations: required: true - type: textarea attributes: label: Example description: > Please provide a [Short, Self Contained, Correct (Compilable), Example](http://sscce.org/) demonstrating the bug. render: java validations: required: true - type: textarea attributes:
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 16 20:08:25 UTC 2024 - 2.9K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
Short: "Retrieves cluster configuration for the Envoy in the specified pod", Long: `Retrieve information about cluster configuration for the Envoy instance in the specified pod.`, Example: ` # Retrieve summary about cluster configuration for a given pod from Envoy. istioctl proxy-config clusters <pod-name[.namespace]> # Retrieve summary about cluster configuration for a pod under a deployment from Envoy.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
guava/src/com/google/common/escape/ParametricNullness.java
import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Annotates a "top-level" type-variable usage that takes its nullness from the type argument * supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 10 21:27:51 UTC 2022 - 4.1K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
The `TestClient` is based on <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, and luckily, we can use it directly to test the API. ## Example For a simple example, let's consider a file structure similar to the one described in [Bigger Applications](../tutorial/bigger-applications.md){.internal-link target=_blank} and [Testing](../tutorial/testing.md){.internal-link target=_blank}:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:43:29 UTC 2024 - 3.8K bytes - Viewed (0)