Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 993 for asdict (0.04 seconds)

  1. guava/src/com/google/common/base/Joiner.java

          throws IOException {
        @SuppressWarnings("nullness") // TODO: b/316358623 - Remove suppression after fixing checker
        List<?> partsList = Arrays.<@Nullable Object>asList(parts);
        return appendTo(appendable, partsList);
      }
    
      /** Appends to {@code appendable} the string representation of each of the remaining arguments. */
      @CanIgnoreReturnValue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         * {@code <groupId>:<artifactId>:<version>} but some of these coordinates may still be unknown at the point the
         * exception is thrown so this information is merely meant to assist the user.
         *
         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
            if (result == null || result.getModelIds().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
        protected JsonResponse<ApiResult> asJson(final ApiResult bean) {
            return new JsonResponse<>(bean);
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. tests/test_request_params/test_body/test_required_str.py

        }
    
    
    @pytest.mark.parametrize("json", [None, {}])
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_missing(path: str, json: Union[dict[str, Any], None]):
        client = TestClient(app)
        response = client.post(path, json=json)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/testing-dependencies.md

    ### Используйте атрибут `app.dependency_overrides` { #use-the-app-dependency-overrides-attribute }
    
    Для таких случаев у вашего приложения **FastAPI** есть атрибут `app.dependency_overrides`, это простой `dict`.
    
    Чтобы переопределить зависимость для тестирования, укажите в качестве ключа исходную зависимость (функцию), а в качестве значения — ваше переопределение зависимости (другую функцию).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:37:11 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertEquals(map.size(), entrySetToArray1.length);
        assertTrue(asList(entrySetToArray1).containsAll(entrySet));
    
        Entry<?, ?>[] entrySetToArray2 = new Entry<?, ?>[map.size() + 2];
        entrySetToArray2[map.size()] = mapEntry("foo", 1);
        assertSame(entrySetToArray2, entrySet.toArray(entrySetToArray2));
        assertNull(entrySetToArray2[map.size()]);
        assertTrue(asList(entrySetToArray2).containsAll(entrySet));
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. internal/logger/legacy.go

    )
    
    // SetLoggerHTTPAudit - helper for migrating older config to newer KV format.
    func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) {
    	if !args.Enabled {
    		// Do not enable audit targets, if not enabled
    		return
    	}
    	scfg[config.AuditWebhookSubSys][k] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Endpoint,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 03 09:47:07 GMT 2023
    - 2K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
      /** {@link Joiner} with a string delimiter. */
      @Benchmark
      int joinerWithStringDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 5K bytes
    - Click Count (0)
Back to Top