• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

malcolmgreaves / pywise
89%
main: 95%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/certifi-2024.7.4
DEFAULT BRANCH: main
Repo Added 26 Jun 2020 03:25AM UTC
Files 13
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 0.2.0
branch: 0.2.0
CHANGE BRANCH
x
Reset
  • 0.2.0
  • 0.1.1
  • 0.1.2
  • 0.3.0
  • 0.3.1
  • main
  • master
  • mg/dont_serialize_none
  • mg/fix_gen
  • mg/flatten
  • mg/fp_module
  • mg/handle_generic_dataclasses
  • mg/iter
  • mg/propigate_custom_serialize_deserialize
  • mg/update_type_name
  • mg_trav_up

pending completion
23

push

travis-ci

web-flow
Do not serialize None values (#3)

Changes the default behavior of `serialize` to not explicitly serialize values that are `None` in `@dataclass`es, `NamedTuple`-derriving classes, or key-value `Mapping`s. When combining with JSON serialization, this will prevent a `"field_name": null` object key-value mapping from coming up.

To explicitly serialize `None` values (i.e. the old behavior), the new `no_none_values` flag can be set to `False`. New tests have been added to cover this new behavior.

Major API change, but in keeping with Semantic Versioning 2.0 rules for pre-releases (`0.x.x`), new version is `0.2.0`.

250 of 281 relevant lines covered (88.97%)

1.78 hits per line

Relevant lines Covered
Build:
Build:
281 RELEVANT LINES 250 COVERED LINES
1.78 HITS PER LINE
Source Files on 0.2.0
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23 0.2.0 Do not serialize None values (#3) Changes the default behavior of `serialize` to not explicitly serialize values that are `None` in `@dataclass`es, `NamedTuple`-derriving classes, or key-value `Mapping`s. When combining with JSON serialization, t... push 25 Aug 2020 07:49PM UTC web-flow travis-ci pending completion  
See All Builds (94)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc