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

Add preprocess parameter to Unmarshaller

Also allow a list of postprocessing functions to be passed,
rather than just a single function

9b5e0c1d9f8b43525a751528c533305df8b2c969 authored over 10 years ago
Privatize helper methods in schema.py

fa9d0f1cfc59c7224abdc5a2a2cd2b81537cb590 authored over 10 years ago
Document schema-level validation

6a93e28eb8f3a39d5d0ac6410a821526b9e4d3c5 authored over 10 years ago
Add Schema.validator decorator for registering validation funcs

97f3f50e290b085d0a8c498dfe3d70c70b360c14 authored over 10 years ago
Refactor to put Schema validation in the Unmarshaller class

31af8eee7dd65c299b5727b3d0400cabacbcbea4 authored over 10 years ago
Add schema level validation

Validator only receives input values to Schema.load

98cd4b2bd0f692269cd43d8e4a83bf3ea3554f87 authored over 10 years ago
Organize error_handler and data_handler tests into test classes

289b125fe78af7c51630cc115aa827c310f33497 authored over 10 years ago
'default' parameter only applies to serialization

778c4dbd10f82972e55db488b65d0fb4b1658850 authored over 10 years ago
Update docs

2e5437c7f729ce0ea677462fcd46df1063d8714f authored over 10 years ago
Skip validation on serialization

See comments in #45 and #47

4934417a14d9b0b0cec0272e8ab87eb19210ef15 authored over 10 years ago
Move validation to its own method

3d02469f7939e1c2a4d5c605bccc982ac49bf979 authored over 10 years ago
Don't validate required fields upon serialization

ecc0611fbb02ae7c550a6fe81d5b1dbb06a17a64 authored over 10 years ago
Move validation tests from test_serialization -> test_deserialization

582d1f940a51e0b153b186233098eeac0aefde68 authored over 10 years ago
Add @amikholap to AUTHORS

07223f1d4f2e663fa49b39d23b64735dedc36f0d authored over 10 years ago
Merge branch 'amikholap-unicode_output_for_validators' into dev

6f721b08f0640b66c85dfa63ca432d544d482676 authored over 10 years ago
Add ValidationError that gets wrapped by UnmarshallingError

723364ff0d77b23c2f77afe1373d9b98e6f6d2df authored over 10 years ago
Exclude missing values from deserialization output

b641de0cf9c835153d2630c822e525434a6dbf1a authored over 10 years ago
Python 2 unicode compatibility in _WrappingException

ccb4dca74f60a3c23c09697334f1ca0cb389124f authored over 10 years ago
Handle unicode output during validation

ff2fefafb1f9518572d4b046f88301778d5d6bf4 authored over 10 years ago
Validate required fields upon deserialization

see #45

f5821ab593affb32bfdbd8c10ff3112aba6a8863 authored over 10 years ago
Merge branch 'dev' into load-required

855e832ee6b0f7b94911df3135ef19480c39ee23 authored over 10 years ago
Add failing test for checking required on load

7c9579dc49c6f72c3174c08d967237d33088906e authored over 10 years ago
Merge branch 'jmcarp-dev' into dev

Conflicts:
tests/test_schema.py

5f8ce48fc23cfd60e50aaff41d7859b6ef1cbaa4 authored over 10 years ago
Update changelog and and @jmcarp to AUTHORS

bbe62596455a6df158438fe7d78d8a0760f9e490 authored over 10 years ago
Small refactor to looping over mro

3792efd2d440d49955e63054691a6ab27b4ad6b8 authored over 10 years ago
Flexibly inherit fields following method resolution order.

Allow schema subclasses to inherit fields from plain base classes.
Inherit fields according to M...

97d11c4efc913ad44a5f0b97940f19a32847ca28 authored over 10 years ago
Rename test modules

0ed1d0779e09a3ebf242fe15f5888cefdf63d15a authored over 10 years ago
Update SchemaABC

Also, update exception docstrings

6a0eb6714f4e3187a6e0f97c36e050c5398848bd authored over 10 years ago
Update changelog

ab4a52f0e71800692f07a2917142941fe41264dc authored over 10 years ago
Fix lint errors and add flake8 to CI

d2967a662c1baf1b6671881f231aee534624c719 authored over 10 years ago
Allow self-nesting of depth > 1

Resolve #9

c8ed9b0897597e762080f6b5262bd14ce46038e9 authored over 10 years ago
Add example of using full path with Nested

9afce84dbd859fa76237855f7cc5bb63597658c2 authored over 10 years ago
More thorough implementation and documentation of `null`

2ebda48c791e04731f0e032728d50eb0b849e46b authored over 10 years ago
Don't require Field subclasses to define `required` and `validate`

5049b76255f049c4bc2eaf222a459d4cacdc9011 authored over 10 years ago
Instantiate a new serilializer when nesting a Schema within itself

This fixes an edge case that can occur when nesting 'self' and
specifying additional parameters,...

939d0450341b3bbcf3874139b8a68f0295c759b5 authored over 10 years ago
Rename Nested.serializer -> Nested.schema

b337632688b7eb697b42303f561ab658a61ff6a7 authored over 10 years ago
Update docs

084369793ffb0b4a09724f67535fe05ae98b9cee authored over 10 years ago
Rename serializer.py -> schema.py

90fe4061713f89ef6c7b9ab237e6766e59be25bd authored over 10 years ago
Prevent KeyError when extra data are passed in to Schema.load

125c1d3c358a770470bd4ee8aa57e94b0f46b751 authored over 10 years ago
Update "why marshmallow" page

c1593f0fbad94bca4311ccd1e41f85e8fe647243 authored over 10 years ago
Fix failing tests and rename test module

146a0f07db3cf209a376aecc8a808eaa875942c9 authored over 10 years ago
Rename Serializer -> Schema

- Technically more accurate, and less to type
- class definition is the Schema, instances are se...

8ccf52a2ce99f80b38f2583a13905e2436d54edb authored over 10 years ago
Fix error when inheriting context

75bc5c238be36a4b46bf80276ba6603195ff2588 authored over 10 years ago
Nested fields inherit context

acc0b51ed4a657a6f4546db0a05c53fc0584ffaf authored over 10 years ago
Stop parent serializer as an instance attribute of Fields

a0691ffc33758a543aeab555f5cd0c620098ee5c authored over 10 years ago
Add Field.context property

fd60e8ca0b55c31b05859e9014da3e7420620a0d authored over 10 years ago
Expose __error_handler__ and __data_handler__ class members

Add docs and tests for defining handlers as class members

3e139b2ebeb448f02d8a1795b5dd69e4aacd6d6c authored over 10 years ago
Document and test FormattedString field

31d103683adfcd68a8540e010e4c5e839d538186 authored over 10 years ago
Update installation docs

a6b06ab3af18908179f8bcd510605359f199837d authored over 10 years ago
Call error_handler if error occurs when invoking "load"

12a3b3b0ab9c5ab593ae8a8c532cc4b8349180fc authored over 10 years ago
Update flask example with error_handler usage

4d638e8d54796828da533c663e925c300cb427d5 authored over 10 years ago
Remove Serializer.factory method

73ef43a07ea47fa051a24b5fd0f3b340b8733969 authored over 10 years ago
Update docs

Improve documentation for return types of dump and load

59bc9038c36d3c19259915318fa72fc91e237359 authored over 10 years ago
Expand upon unit tests for error handling

3fece6834b7a1765eefd33014c857a5d53511f6c authored over 10 years ago
Move all utility functions in fields to utils.py

Also add unit tests for utils.get_value

bc79a6403f97e0753b89f4cabba4d2351485c90f authored over 10 years ago
Update docs

- Show usage of deserialization API
- Add "Why marshmallow" page
- Various other updates and fixes

46e141f6c68237cf00b247aa8d3313843e0a0059 authored over 10 years ago
Ensure that context dictioary is a dictionary upon initialization

f1fae49a19fad315f0611f16d25d55b8b0391711 authored over 10 years ago
Document how to extend class Meta options

Also add SerializerOpts to top-level package namespace

5366baaf93496e72b11a1acc5eb31db6f4f9c1e8 authored over 10 years ago
Remove unnecessary usage of OrderedSet from Nested field

Also expand upon unit tests for ordering with Nested field's

bd601ae1679116746156edde388811d1e08d1ba3 authored over 10 years ago
Rename UnMarshaller -> Unmarshaller

Also add alias for Url field

251e943c8e0418973b8894214e8527f83229cede authored over 10 years ago
Fix ordering of declared fields

fix #40 (see comment by @zerodivisi0n)

4c8f331d616a8be18a7570abd3f963e8be9a31f3 authored over 10 years ago
Fix py26 import

7263b6662baae0c8015e175cde450a59df020dd2 authored over 10 years ago
Update CHANGELOG

177d17b62007d1f9cb8a47faacc121224e952d63 authored over 10 years ago
Merge branch 'ordering' into dev

61aa35694035830f2a382cfb7c100aecf00c083a authored over 10 years ago
Maintain field order when using fields and additional options

fix #40

Adds Raymond Hettinger's orderedset module

8df06d3c6a10ea6138c7c403679bab77e90b247b authored over 10 years ago
Update Serializer docstring

38a67713b01847dcaff45bd3dbd6b6daad38a08d authored over 10 years ago
Remove unnecessary aliases

d054a6c8437a7f8d292f5fc0d0646b04250f03bc authored over 10 years ago
Fix behavior of Nested field's required and default parameters

84f35c553b00bd1e95adca36406ee7c5fe8e73d2 authored over 10 years ago
Merge branch 'feature/issue32' into dev

53f0e26902b0e1260b79e810b5029c928adb60cb authored over 10 years ago
Slightly more realistic dates in example

7282bfa25e00c87f3a560d2722f49e8dbab9fc4b authored over 10 years ago
Change datetimes to ISO8601 in docs. Closes #32.

ea82f3f59052c716af6107276155f365bd666e07 authored over 10 years ago
Add @Ketouem to AUTHORS

991b9fd616c4c1a6a6091f1a4a2f887987c5402d authored over 10 years ago
Merge branch 'Ketouem-issue34' into dev

2f27d00264e99007b6857cc018c700a4366a91e8 authored over 10 years ago
Minor formatting and naming fixes

552f5b9ce523ea4b55e0f4daac26b8fc4d3debae authored over 10 years ago
Add docs for migrating to 1.0

0ad2ce4978dd3ac0ce4b78e62bdce03b8c16ef6d authored over 10 years ago
Fix Function and Method fields w/ context. Add regression tests

1c52e17bb67d180444d811a9355df6bdfd1dd22e authored over 10 years ago
Reducing the number of branches using type coercition.

60b91a22c01277f9df61d57fd4ed21c4ae3cf867 authored over 10 years ago
Rename `key` parameter -> `attr`

1217557bd88d85332cbf23db490cdcbd2e1ef3bd authored over 10 years ago
Make errors importable from top-level namespace

9c29990d48b1ef9881467282d37ac063c0c9dec4 authored over 10 years ago
Update docstrings and privatize helper functions in fields.py

b48a43962251a6abbd1a47acf792a062abfb7ec2 authored over 10 years ago
Raise DeprecationWarnings when serializing through constructor

62e5cebd9326db504a485e87e677e1a00a5e814c authored over 10 years ago
Add repr for Serializer

5f6b28ac937a444a5f6e97efd75274557b504b95 authored over 10 years ago
Update docs

7592149fbb3fdb8c6c7803ad05a34cf7e6618515 authored over 10 years ago
'strict' is a method parameter rather than a state variable

c2eb8e1edcc6e220460fe060d35694602f344213 authored over 10 years ago
Add Field to fields.__all__ and add test

3e44e5feefcc6a1e178a0570147defb00d0edc02 authored over 10 years ago
Merge branch 'namedtuples' into dev

43f6aaccb11e4c94b8154ed876c21f082ebdfda7 authored over 10 years ago
``Field`` is the base class from which all fields inherit from

d42898c19e4b1df6c12d49e792f036cc320766f4 authored over 10 years ago
Fixing and enhancing test cases regarding the collection of callables in the 'validate' parameter.

efb177d98557b3e6b91172978f5be1983a890581 authored over 10 years ago
Putting a side note of passing collection of callables into the validate parameter.

9bb06343fa98c080d6cd9ca905acd01b4d6cf1be authored over 10 years ago
Adding a function to check if an object is a generator

3314b36bb59c2b960d6b98f95031c4b02fc56ca3 authored over 10 years ago
Can now pass a collection of callables and even a generator that push callable in the 'validate' parameter.

a941d5017f720734fee299a61b908faad1536615 authored over 10 years ago
Update install info

71f59c86c2eade04fd47ab4a5ac69005f45c0f36 authored over 10 years ago
dump and load return namedtuple

b0db1a790b0e08bf506605cd1bb564888521666f authored over 10 years ago
Updated the doc (the user can now pass list of callables)

b5c427d7265899f5f360403d3feb79e3e217809e authored over 10 years ago
Adding several unit test cases to check if we can pass a list of callables for validation.

a303daf67afd903a603c9d1dd94b64eb3ecaacd5 authored over 10 years ago
Added the possibility to pass multiple callables (for validation) inside a list.

7b36273147e055322b068dd1b76c40d0b96b4693 authored over 10 years ago
Update CONTRIBUTING docs

49c104df71a0b5f44938a8a5d4c5ff31f80b88d7 authored over 10 years ago
Serialize to iso8601 by default

Obligatory: https://xkcd.com/1179/

Also, allow 'iso8601' and 'rfc822' to be passed as valid for...

84787a1de1d3743ae080b22d2c33b12ac91f403b authored over 10 years ago
Fix return value of dumps on Py3

d3174d6bba7e4057f4045cb651737c9053102b9e authored over 10 years ago
Fix dumps (receive errors)

e171b1ab6b4d75e25f8bf365557ce7f72b86c93d authored over 10 years ago