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

openvax / serializable
90%

Build:
DEFAULT BRANCH: master
Repo Added 06 Feb 2024 06:10AM UTC
Token Bs5iIhOCIVMoYJ1Dp1hxMBy8SUC6FNTxu regen
Build 11 Last
Files 5
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 master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • add-dataclass-serializable
  • master
  • modernize-tooling

20 Apr 2026 05:42PM UTC coverage: 89.778% (+1.4%) from 88.384%
24681366731

push

github

web-flow
Add DataclassSerializable mixin for @dataclass subclasses (#13)

* Add DataclassSerializable mixin for @dataclass subclasses (#11)

Resolves openvax/serializable#11. Provides a narrow mixin that gives
@dataclass-decorated classes the `to_dict` / `from_dict` / `to_json` /
`from_json` API without overriding the `__init__` / `__eq__` / `__repr__`
/ `__hash__` that `@dataclass` already generates.

Wire format is identical to `Serializable`: `to_serializable_repr`
dispatches on `obj.to_dict()`, so mixed codebases (some classes still
on `Serializable`, some migrated to `DataclassSerializable`) round-trip
JSON cleanly. Pickle routes through the same envelope via `__reduce__`.

Includes the `_SERIALIZABLE_KEYWORD_ALIASES` escape hatch so legacy
field names can be renamed or dropped across releases, mirroring the
same mechanism on `Serializable`.

Bumps version to 1.1.0 — new public API, no breaking changes.

* Address PR #13 review: annotation, pickle test, alias inheritance test, README

- Fix Tagged.tag annotation: LegacyTag -> LegacyTag | None to match the None default.
- Add test_frozen_dataclass_pickle_roundtrip covering __reduce__ on a frozen
  dataclass (cls(**kwargs) must work even with __setattr__ disabled).
  Promoted FrozenPoint to module level so pickle can look it up.
- Add test_keyword_aliases_inherited_from_parent to confirm alias dicts
  declared on a parent class fire for child loads — migrations can live on
  a shared base without every subclass restating them.
- README: new section documenting DataclassSerializable, including usage
  snippet and interop notes for vaxrank/pyensembl/varcode.

202 of 225 relevant lines covered (89.78%)

0.9 hits per line

Relevant lines Covered
Build:
Build:
225 RELEVANT LINES 202 COVERED LINES
0.9 HITS PER LINE
Source Files on master
  • Tree
  • List 5
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24681366731 master Add DataclassSerializable mixin for @dataclass subclasses (#13) * Add DataclassSerializable mixin for @dataclass subclasses (#11) Resolves openvax/serializable#11. Provides a narrow mixin that gives @dataclass-decorated classes the `to_dict` / `... push 20 Apr 2026 05:43PM UTC web-flow github
89.78
24681331550 add-dataclass-serializable Merge d7af93725 into 1e9e3b3e4 Pull #13 20 Apr 2026 05:42PM UTC web-flow github
89.78
24680839352 add-dataclass-serializable Merge fd3d794c7 into 1e9e3b3e4 Pull #13 20 Apr 2026 05:31PM UTC web-flow github
89.78
24680284609 master Modernize tooling: ruff + pytest + pyproject.toml, bump to 1.0.0 (#12) - Replace pylint/flake8/requirements.txt with ruff and pyproject.toml (ruff lint + format, pytest, coverage, setuptools dynamic version, dev extras). - Move __version__ into... push 20 Apr 2026 05:19PM UTC web-flow github
88.38
24680195872 modernize-tooling Merge f7cde5f4b into fb4c01c59 Pull #12 20 Apr 2026 05:17PM UTC web-flow github
88.38
10639585465 master Merge d43a23e36 into fb4c01c59 Pull #10 30 Aug 2024 09:51PM UTC web-flow github
88.72
8575045429 master version bump push 05 Apr 2024 07:58PM UTC iskandr github
88.35
7849642799 master added test workflow push 09 Feb 2024 09:10PM UTC iskandr github
88.35
7795520500 master download stats push 06 Feb 2024 06:17AM UTC iskandr github
88.35
7795482186 master version bump push 06 Feb 2024 06:12AM UTC iskandr github
88.35
See All Builds (11)

Badge your Repo: serializable

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • 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

© 2026 Coveralls, Inc