一个简单的基于模式的序列化和反序列化库
ba-colander的Python项目详细描述
未发布
错误修复
- 删除分叉的ISO8601并更改为依赖于PYPI ISO8601 (由于解析时微秒部分的浮点舍入错误) ISO8601日期时间字符串)。留下一个iso8601.py存根 兼容性。
- "00:00"的时间不再给出 colander。无效
- 可调用实例的un break包装为 colander.deferred 。 参见 https://github.com/pylons/colander/issues/141
- 根据 有效TLD的当前列表。 参见 https://github.com/pylons/colander/issues/159
- 修复一个问题,其中 drop 未被识别为默认值,并且 返回 drop 实例,而不是省略该值。 https://github.com/pylons/colander/issues/139
- 修复 schemanode.title 被 名称删除的问题 定义为类属性时。 参见 https://github.com/pylons/colander/pull/183 和 https://github.com/pylons/colander/pull/185
功能
- 如果至少有一个子验证器成功,则添加任何验证器 成功。
- 允许本地化由 colander返回的错误消息。invalid.asdict 通过添加可选的 translate 可调用参数。