Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1851 - 1860 of 2,684 for catch (0.07 seconds)

  1. tests/test_invalid_sequence_param.py

            match="Query parameter 'q' must be one of the supported types",
        ):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/")
            def read_items(q: dict[str, Item] = Query(default=None)):
                pass  # pragma: no cover
    
    
    def test_invalid_simple_dict():
        with pytest.raises(
            AssertionError,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

                  warnings:
                    - "warning to remove"
              - match: { _source.values: ["foo"] }
              - match: { _type: "_foo" }
              - match: { _source.blah: 1234 }
              - match: { _source.junk: true }
              - match: { match_.some.key_to_replace: true }
              - is_true: "value_to_replace"
              - is_false: "value_to_replace"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

        public void test_update_callsLoad() throws InterruptedException {
            CountDownLatch latch = new CountDownLatch(1);
            configHelper.setLoadCallback(() -> {
                latch.countDown();
                return 1;
            });
    
            configHelper.update();
    
            assertTrue("Load method should be called within 5 seconds", latch.await(5, TimeUnit.SECONDS));
            assertEquals(1, configHelper.getLoadCallCount());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  4. internal/event/target/kafka.go

    			return err
    		}
    	}
    	if k.BatchSize > 1 {
    		if k.QueueDir == "" {
    			return errors.New("batch should be enabled only if queue dir is enabled")
    		}
    	}
    	if k.BatchCommitTimeout > 0 {
    		if k.QueueDir == "" || k.BatchSize <= 1 {
    			return errors.New("batch commit timeout should be set only if queue dir is enabled and batch size > 1")
    		}
    	}
    	return nil
    }
    
    // KafkaTarget - Kafka target.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

        @ValidateTypeFailure
        public Float boost;
    
        /**
         * The virtual host for the key match.
         */
        @Size(max = 1000)
        public String virtualHost;
    
        /**
         * The user who created this key match.
         */
        @Size(max = 255)
        public String createdBy;
    
        /**
         * The timestamp when this key match was created.
         */
        @ValidateTypeFailure
        public Long createdTime;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/ReplaceValueInMatch.java

    package org.elasticsearch.gradle.internal.test.rest.transform.match;
    
    import com.fasterxml.jackson.databind.JsonNode;
    import com.fasterxml.jackson.databind.node.ObjectNode;
    import org.elasticsearch.gradle.internal.test.rest.transform.ReplaceByKey;
    import org.gradle.api.tasks.Internal;
    
    /**
     * A transformation to replace the value of a match. For example, change from "match":{"_type": "foo"} to "match":{"_type": "bar"}
     */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/body-updates.md

    ## Partial updates with `PATCH` { #partial-updates-with-patch }
    
    You can also use the [HTTP `PATCH`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH) operation to *partially* update data.
    
    This means that you can send only the data that you want to update, leaving the rest intact.
    
    /// note
    
    `PATCH` is less commonly used and known than `PUT`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/body-updates.md

    ## Atualizações parciais com `PATCH` { #partial-updates-with-patch }
    
    Você também pode usar a operação [HTTP `PATCH`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH) para atualizar dados *parcialmente*.
    
    Isso significa que você pode enviar apenas os dados que deseja atualizar, deixando o restante intacto.
    
    /// note | Nota
    
    `PATCH` é menos comumente usado e conhecido do que `PUT`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.11.md

    * Update Cluster Autoscaler to version 1.3.7. ([#74136](https://github.com/kubernetes/kubernetes/pull/74136), [@jkaniuk](https://github.com/jkaniuk))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 328.4K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

                    val match = dependencyRegex.find(dependency)
                    if (match != null) {
                        val oldDependency = match.groupValues[3] + match.groupValues[2]
                        val newDependency = match.groupValues[1] + match.groupValues[2]
                        lines.replaceAll { it.replace(oldDependency, newDependency) }
                    }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
Back to Top