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

openvax / serializable / 37524173200
91%

Build:
DEFAULT BRANCH: master
Ran 06 Oct 2026 08:09PM UTC
Jobs 1
Files 5
Run time 1min
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

06 Oct 2026 08:08PM UTC coverage: 91.026% (-1.0%) from 92.0%
37524173200

push

github

web-flow
Faster pickling and from_json; stop mutating inputs; bump to 1.2.0 (#20)

- Pickle through from_dict(to_dict()) instead of converting the whole
  object tree to its JSON-shaped representation first: pickle.dumps is
  ~3x and pickle.loads ~4.5x faster, and pickles are ~35% smaller.
  Values in to_dict() are now pickled natively. Pickles written by
  earlier versions still load via from_serializable_repr.
- from_json reconstructs objects bottom-up in a json object_hook rather
  than walking the parsed tree a second time (~1.6x faster).
- from_serializable_repr no longer pops keys out of its input, so
  decoding the same representation twice works (it used to raise
  IndexError), and Serializable.from_dict no longer renames aliased keys
  in the caller's dict.
- Cache __init__ argument names per class; this runs on every default
  to_dict/__eq__/__hash__. Drops the __new__ fallback, which could never
  succeed on Python 3.
- Document (README, docs/guides/objects.md) and test that keyword-only
  __init__ args are excluded from
  the default to_dict(); varcode's SpliceOutcomeSet depends on it.
  Add a pickling section to the objects guide.

The JSON wire format is unchanged.

Claude-Session: https://claude.ai/code/session_01JRDMg3F5kNKmnjv5jvQBgr

213 of 234 relevant lines covered (91.03%)

0.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
91.78
2.73% helpers.py
6
40.0
-60.0% primitive_types.py
3
93.62
0.0% serializable.py
Jobs
ID Job ID Ran Files Coverage
1 37524173200.1 06 Oct 2026 08:09PM UTC 5
91.03
GitHub Action Run
Source Files on build 37524173200
  • Tree
  • List 5
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37524173200
  • 78befc30 on github
  • Prev Build on master (#37522072812)
  • Next Build on master (#37524299527)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc