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

bennorth / python-xml-serdes / 36 / 2
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v2.0.4
DEFAULT BRANCH: master
Ran 16 Oct 2016 02:50PM UTC
Files 7
Run time 0s
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

16 Oct 2016 02:44PM UTC coverage: 98.559% (-0.05%) from 98.611%
36.2

push

travis-ci

bennorth
Refactor: Use instance type descriptor

The existing machinery which XMLSerializable uses to deserialize an
instance from XML has considerable duplication with that used by the
Instance type-descriptor.  This merge removes that duplication and
simplifies the deserialization mechanism.

Summary of changes:

Store an Instance type-descriptor in a class instance variable.
Use it in as_xml() and from_xml().

This is a backward-incompatible change, in that currently classes have
to provide a from_xml_dict() method.  The XMLSerializableNamedTuple
implements this method; it's expected that most users will derive from
this class, and so not have to provide their own from_xml_dict().  As
far as known, nobody is overriding from_xml_dict() or implementing it
differently, so impact should be minimal.

342 of 347 relevant lines covered (98.56%)

0.99 hits per line

Source Files on job 36.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 36
  • Travis Job 36.2
  • 87f883f5 on github
  • Prev Job for on develop (#29.2)
  • Next Job for on develop (#42.5)
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