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

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

Build:
Build:
LAST BUILD BRANCH: v2.0.4
DEFAULT BRANCH: master
Ran 16 Oct 2016 02:48PM UTC
Jobs 3
Files 7
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

pending completion
36

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.

347 of 347 relevant lines covered (100.0%)

2.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36.1 16 Oct 2016 02:49PM UTC 0
94.81
Travis Job 36.1
2 36.2 16 Oct 2016 02:50PM UTC 0
98.56
Travis Job 36.2
3 36.3 16 Oct 2016 02:48PM UTC 0
98.56
Travis Job 36.3
Source Files on build 36
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #36
  • 87f883f5 on github
  • Prev Build on develop (#29)
  • Next Build on develop (#42)
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