Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 117 for Unserializable (0.11 seconds)

  1. tests/test_jsonable_encoder.py

        assert jsonable_encoder(item, exclude={}) == {"name": "foo", "count": 100}
    
    
    def test_encode_unsupported():
        unserializable = Unserializable()
        with pytest.raises(ValueError):
            jsonable_encoder(unserializable)
    
    
    def test_encode_custom_json_encoders_model_pydanticv2():
        from pydantic import field_serializer
    
        class ModelWithCustomEncoder(BaseModel):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.opensearch.config.allcommon;
    
    import java.io.Serializable;
    import java.util.Map;
    import java.util.Set;
    
    import org.dbflute.Entity;
    import org.dbflute.FunCustodial;
    import org.dbflute.dbmeta.accessory.EntityModifiedProperties;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

            super(0);
          }
        }
    
        @Keep
        public static final class DummyRunnable implements Runnable, Serializable {
          @Override
          public void run() {}
        }
    
        @Keep
        public static final class DummyThreadFactory implements ThreadFactory, Serializable {
          @Override
          public Thread newThread(Runnable r) {
            return new Thread(r);
          }
        }
    
        @Keep
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapNews.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.entity;
    
    import java.io.Serializable;
    
    /**
     * Represents a news entry within a sitemap URL.
     * This class encapsulates the properties of a news article as defined in the Google News Sitemap extension.
     *
     * <p>
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:34:36 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
      public Test testsForSingletonList() {
        return ListTestSuiteBuilder.using(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyList())
            .createTestSuite();
      }
    
      public Test testsForSingletonList() {
        return ListTestSuiteBuilder.using(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.testers.MapEntrySetTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.EnumMap;
    import java.util.HashMap;
    import java.util.Hashtable;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import org.gradle.api.file.Directory
    
    class AcceptedViolationsProvider implements Serializable {
        private final File acceptedViolationsDir
        private Map<String, String> acceptedViolations = null
    
        AcceptedViolationsProvider(Directory acceptedViolationsDir) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MultimapBuilder.java

     * on the receiving instance; you must store and use the new builder instance it returns instead.
     *
     * <p>The generated multimaps are serializable if the key and value types are serializable, unless
     * stated otherwise in one of the configuration methods.
     *
     * @author Louis Wasserman
     * @param <K0> An upper bound on the key type of the generated multimap.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 18K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Tables.java

       * concurrently and one of the threads modifies the table, it must be synchronized externally.
       *
       * <p>The table is serializable if {@code backingMap}, {@code factory}, the maps generated by
       * {@code factory}, and the table contents are all serializable.
       *
       * <p>Note: the table assumes complete ownership over of {@code backingMap} and the maps returned
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
Back to Top