Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for serializable (0.06 seconds)

  1. 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)
  2. 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)
Back to Top