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

numberoverzero / declare / 16 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 31 Jan 2015 10:50PM UTC
Files 1
Run time 3s
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

31 Jan 2015 10:46PM UTC coverage: 100.0%. Remained the same
TOXENV=py34

push

travis-ci

numberoverzero
TypeDefinitionMetaclass hides `load`, `dump` functions

In making Models and TypeDefinitions engine-agnostic, I want to
take care that constructing single-engine types is still easy
(just define load and dump) without making it easy for types
that care about engines to load values agnostically.  To handle
the duality, users can define `load` and `dump` to use as
agnostic engine functions, but cannot directly invoke these after
the type is defined, so that engine-specific types aren't
accidentally loaded through those functions.

All loading/dumping should now be done through an engine, ie.
engine.load(my_type, blob_of_data)
engine.dump(my_type, blob_of_data)

150 of 150 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 16.2 (TOXENV=py34)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16
  • Travis Job 16.2
  • c75cb26a on github
  • Prev Job for TOXENV=py34 on master (#15.2)
  • Next Job for TOXENV=py34 on master (#17.2)
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