Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow values to be arbitrarily transformed during processing #16

Merged
merged 19 commits into from
Jun 17, 2018

Conversation

gatkin
Copy link
Owner

@gatkin gatkin commented Jun 12, 2018

Change to allow callers to provide functions to perform arbitrary transformations of values as they are parsed and serialized from XML data.

@codecov
Copy link

codecov bot commented Jun 12, 2018

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #16   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         382    431   +49     
  Branches       65     70    +5     
=====================================
+ Hits          382    431   +49
Impacted Files Coverage Δ
declxml.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8ece69...77a7f31. Read the comment docs.

@gatkin
Copy link
Owner Author

gatkin commented Jun 17, 2018

This change resolves #12 and resolves #13 since a ValueTransform object can be used to send data to constructors as well as to transform data read from XML into any format most convenient for the application.

This change also updates all of the documentation to include doctests to ensure the all examples used in the documentation are up-to-date and valid.

@gatkin gatkin changed the title WIP: Allow values to be arbitrarily transformed during processing Allow values to be arbitrarily transformed during processing Jun 17, 2018
@gatkin gatkin merged commit f5631eb into master Jun 17, 2018
@gatkin gatkin deleted the value-mapping branch June 17, 2018 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant