Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/marshmallow-code/marshmallow
A lightweight library for converting complex objects to and from simple Python datatypes.
https://github.com/marshmallow-code/marshmallow
e0aa7fd7b4029374c3f50665aad375ef01e05b30 authored over 10 years ago
83efec6e93aba6680e3025ea4394aa9b19f749bf authored over 10 years ago
- Remove unnecessary deserialization page
- Fix typos
- Rearrange quickstart guide
8237781990f03ee16149a75471f2880587136b0e authored over 10 years ago
a6bb92ac555d3383ac258beb500cf19e0671a4a8 authored over 10 years ago
instead of a function that returns instances of the serializer
a3c9e136f042ca54aaabe3e4c38768a2527e0c82 authored over 10 years agoAlso fix usage of Meta.fields with dumps method
a60d4f1ee326e3a90ac97f2d8bfd68119aa36d92 authored over 10 years agofc0cdde7858a6ffc05661651a25b39e035d1682a authored over 10 years ago
38ebaae0981077031a717f77a6d080d393d3424d authored over 10 years ago
947d028fed9f79735c78e9af9e45bdc9440f28e4 authored over 10 years ago
d057cb9768c4dfb4d7614c56772bf4338d312073 authored over 10 years ago
cde0ff74e5803ed2c0244fce2dc3da256d4a300b authored over 10 years ago
6de3b31feaa529b2f8c5419cd092e5223b2bf1d3 authored over 10 years ago
29d8f6cd4fe76f64f54d762359e812b1fe26576a authored over 10 years ago
ff18e782be9d04557f027116b147f16bcecb9999 authored over 10 years ago
6a12c3ca7d28557f5ac33f8d0dfad95dffed31c2 authored over 10 years ago
3addca88017084468e483ed5fe4c18d1ee2147a1 authored over 10 years ago
Expose them publicly through the serialize and deserialize methods
f8ee5787aea1c900028e389dfff2fe9bde4524c8 authored over 10 years agode87be7888b8aa4eed6eff1c8acdda94046966b2 authored over 10 years ago
1c7533435bac987672d9831b07e3fb5d5e540b67 authored over 10 years ago
9c624423fd1b68f775e8013e4d2a4d16cdf50ba9 authored over 10 years ago
fb18ceaf35cade2c5615b9ecef790dfadb0c6b1a authored over 10 years ago
c9b1c70a47f6e766ab1a79f62932a1f651edcac9 authored over 10 years ago
e918e8abb86b88ba99b0ac372a438383d956d24e authored over 10 years ago
b456b2836940361d1715d5f89d614ca8ff9513e2 authored over 10 years ago
8680fbccb17b036c0bd0e8dd6898520fbdc8f2e2 authored over 10 years ago
ddb2239a92e3a92e27711330186b9f75e99202a4 authored over 10 years ago
f40b8f137d81b36e7c3af4fc6c90fdc02c2aa947 authored over 10 years ago
583e55e335b27731af22de8548d23e7ab681c2db authored over 10 years ago
Show type of underlying exception
91de3003db532c490d00eff07d8925b4bd9c5134 authored over 10 years agob4405c336e1d0349306ab5496f558a429eed085a authored over 10 years ago
3104202fdc216b7c11b82556ae4bac83bb1fb45c authored over 10 years ago
4c06bc3371118edf7a68de17e0f547983d752c44 authored over 10 years ago
Also add Serializer#make_object method for creating an object with
the deserialized data
619c99cd162d77f8f90bb5fb0a4239441eb6ef6d authored over 10 years ago
9d0cb626ce7a10ba7839d67867dfacc9deda1dda authored over 10 years ago
dcf0dcf627f104d80870795a739d4ed0e54109fc authored over 10 years ago
b707615d61656923e91b581a0cd825f9f328bccb authored over 10 years ago
66b1048313e409ca6380101282ffffea85315bc3 authored over 10 years ago
Also implement Email field deserialization
1e80749589cc2df78d8acf7540c5e2091ebecf03 authored over 10 years agoAlso implement Enum field deserialization
617e5d96bb11fd12b09e3fb4a0d512b756373e60 authored over 10 years agod15daa960a58e8dfe756a24a4ad14d7a6d21853e authored over 10 years ago
265b267a9fc1179b3c631eca9c56fc420878e47a authored over 10 years ago
b79a93646e44bc407293e31cfdc31b5d1a781b08 authored over 10 years ago
8e0d94984be6e114d536beb67a1d7d4c3ea596eb authored over 10 years ago
2fd538fbb31390c23f8787d64b4ae45a0d057a2f authored over 10 years ago
- Concrete classes define _serialize and _deserialize.
- Remove @validated decorator. Validation...
f1de6c6d8705673a78f2622a5de15013e0a74d6e authored over 10 years ago
DateTime implementation is incomplete (doesn't handle timezones)
Also add test stubs
c1d94b7c4aff261ce80a81f016ec477153bfd5c8 authored over 10 years ago
382488ae0e1c681ff35ac48d374926d96862adc4 authored over 10 years ago
20f4648e7dacfa0fd2e805d9d9ba5f4748770a18 authored over 10 years ago
25a3ca4692dd802fda075d6db667d24a63aeb876 authored over 10 years ago
5c1d5dc2ae7f1439de16d6e4d480ca95c7a31094 authored over 10 years ago
8244d4109823280dc98e66cd2ce711b9b6a73aa8 authored over 10 years ago
66f174463bc057394db74a95430e5b3bfaf80370 authored over 10 years ago
edf2d40c0974011c354eab75c4bfc1ff7ee51176 authored over 10 years ago
59fcbe9de6f4872ad473bc015a17ad606adfbec5 authored over 10 years ago
b0fb60a87f909bffeddcd8cdaac67e530adbcdf2 authored over 10 years ago
a15b352bf618077b7dccea685cd31f4ae0c9bd2a authored over 10 years ago
4e14f192ac478f0f0a46c671a53dc55fc5831c41 authored over 10 years ago
0234241a6c296b3feb30ea3a2677e7a17f2d163a authored over 10 years ago
891899ce30fb2438127d85df4f84f058c212c51e authored over 10 years ago
8dbed92035b174490a030092534d11e2ef5d816d authored over 10 years ago
a6647521944c87a506b507c490fdc3c0c24ccd2e authored over 10 years ago
d5f8532d04172b57a0ff7daf322e8c38053bc302 authored over 10 years ago
c8e12b6b4a06344c6f99634991315db6c221911b authored over 10 years ago
38aa412f22e0607f9b0ac8a7d702f924ab54afa0 authored over 10 years ago
f6eeb0745b6ae0a21c32edb47dac0f01ceb49f97 authored over 10 years ago
d93c4662dc5a85f9355441dd5c289e8d1d103839 authored over 10 years ago
ea1fa264262e719aa5e15358bea6b7a6136e5454 authored over 10 years ago
e677788891502be014d33c491b09b612e2c0fbdd authored over 10 years ago
Move required validation to avoid custom validation messages overriding required message
b8a7add6c1222a15ab19a8368b365a377adcabc8 authored over 10 years ago
This feels like a better place to do the required validation, and allows
for custom error messag...
4c4ac2625d5551aa32684576174309ae00668c6e authored over 10 years ago
ed64555087603d7220b1cdfd674b15bb3ed033a9 authored over 10 years ago
[fixes #24]
279dba51b4f773473da4247877896c49d79fa987 authored over 10 years ago
validated() was previously wrapped on both output() and format() methods, but
not consistently, ...
b0f8da7ce8987cbf389b306ac35e992abade812a authored over 10 years ago
47f4ce93deabff79ba3546b8e484e457f0d1afd3 authored over 10 years ago
6440c5bb3df6f16ee8c070b56d175e96768a98b7 authored over 10 years ago
because subclasses may need to override the data property
07448dd148f2e69f6f59abff23cbfaedbe716ca8 authored over 10 years ago0447dfbe81ad9d6ba1b737fed289ca21f81cbbf9 authored over 10 years ago
65ba114d5797a897646a014628f9c2a1c3cfecce authored over 10 years ago
45c022e348b7893546d60f621bdf4cb4f767bdb2 authored over 10 years ago
f553c0a349eeddc19d177cd27d723f0c14af1c82 authored over 10 years ago
7bf6a1ee5ba734793019440576fe75a7f46045d1 authored over 10 years ago
7af14f949481b213ccb9fad9a9b4352cdace9d72 authored over 10 years ago
f248753b6b5f2d91ff188582616d26fbd33747be authored over 10 years ago
840ffe0298dc826083982718c12f7412e41877a1 authored over 10 years ago
35bdfbaba34765129bdf730be535ec5457a36283 authored over 10 years ago
Adds a registry of serializer classes
[see #19]
55dbf12c23d360ff2463a816508587c6a2d74bf1 authored over 10 years ago
[fixes #20]
f5045e04f4e1d80a1a95f0c3faba102d515e97d9 authored over 10 years ago[should fix #21]
cbb9bebc72f733f40d43cb95472f4de05e351221 authored over 10 years agob41f8ef319d5eb4be2c9e5eaf0e02b5424ce91ca authored over 10 years ago
9b7166c5e9d3827320ecb4a7485b6aeb4a62e620 authored over 10 years ago
d0688509ad06ad82f59006f8b635fe3090745103 authored over 10 years ago
173a45463c9e586704960e582555ac52a3af26eb authored over 10 years ago
This will make it possible for 3rd-party libraries to extend the fields
module