Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,543 for Examples (1.71 sec)

  1. docs/zh/docs/tutorial/cors.md

    默认情况下,这个 `CORSMiddleware` 实现所使用的默认参数较为保守,所以你需要显式地启用特定的源、方法或者 headers,以便浏览器能够在跨域上下文中使用它们。
    
    支持以下参数:
    
    * `allow_origins` - 一个允许跨域请求的源列表。例如 `['https://example.org', 'https://www.example.org']`。你可以使用 `['*']` 允许任何源。
    * `allow_origin_regex` - 一个正则表达式字符串,匹配的源允许跨域请求。例如 `'https://.*\.example\.org'`。
    * `allow_methods` - 一个允许跨域请求的 HTTP 方法列表。默认为 `['GET']`。你可以使用 `['*']` 来允许所有标准方法。
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/RemovalListener.java

     * shared resources.
     *
     * @param <K> the most general type of keys this listener can listen for; for example {@code Object}
     *     if any key is acceptable
     * @param <V> the most general type of values this listener can listen for; for example {@code
     *     Object} if any key is acceptable
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public interface RemovalListener<K, V> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolver.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface VersionResolver extends Service {
    
        /**
         * Resolves an artifact's meta version (if any) to a concrete version.
         * For example, resolves "1.0-SNAPSHOT" to "1.0-20090208.132618-23".
         *
         * @param session The repository session, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_extra_models/test_tutorial001_tutorial002.py

            json={
                "username": "johndoe",
                "password": "secret",
                "email": "johndoe@example.com",
                "full_name": "John Doe",
            },
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "username": "johndoe",
            "email": "johndoe@example.com",
            "full_name": "John Doe",
        }
    
    
    def test_openapi_schema(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. tests/test_union_forms.py

    
    def test_post_user_form():
        response = client.post(
            "/form-union/", data={"name": "John Doe", "email": "john@example.com"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "received": {"name": "John Doe", "email": "john@example.com"}
        }
    
    
    def test_post_company_form():
        response = client.post(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. docs_src/security/tutorial005_py39.py

            "full_name": "John Doe",
            "email": "johndoe@example.com",
            "hashed_password": "$argon2id$v=19$m=65536,t=3,p=4$wagCPXjifgvUFBzq4hqe3w$CYaIb8sB+wtD+Vu/P4uod1+Qof8h+1g7bbDlBID48Rc",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Chains",
            "email": "alicechains@example.com",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. helm-releases/minio-5.0.6.tgz

    policy grants access to buckets with name starting with example. ## In addition, grants objects read permissions on buckets starting with example. # - name: readonlyexamplepolic # statements: # - resources: # - 'arn:aws:s3:::example*/*' # actions: # - "s3:GetObject" # - resources: # - 'arn:aws:s3:::example*' # actions: # - "s3:GetBucketLocation" # - "s3:ListBucket" # - "s3:ListBucketMultipartU" ## conditionsexample policy creates all access to example bucket with aws:username="johndoe" and source ip range...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Feb 13 06:53:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        private ReserializedCollectionGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public Collection<E> create(Object... elements) {
          return SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. dbflute_fess/dfprop/documentMap.dfprop

    # o isCheckProcedureDiff: (NotRequired - Default false)
    # o loadDataReverseMap: (NotRequired - Default map:{})
    # o schemaSyncCheckMap: (NotRequired - Default map:{})
    # o propertiesHtmlMap: (NotRequired - Default map:{})
    #
    # Example:
    # map:{
    #     ; documentOutputDirectory = ./output/doc
    #     ; aliasDelimiterInDbComment = :
    #     ; isDbCommentOnAliasBasis = true
    #     ; isEntityJavaDocDbCommentValid = true
    #     ; isEntityDBMetaDbCommentValid = true
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 9.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

     * This class provides a simple way to construct RequestData objects with method chaining.
     *
     * <p>Usage example:</p>
     * <pre>
     * RequestData request = RequestDataBuilder.newRequestData()
     *     .method("GET")
     *     .url("https://example.com")
     *     .weight(1.0f)
     *     .build();
     * </pre>
     *
     * <p>The builder is implemented using an inner class {@link RequestDataContext} that handles
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top