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

Fix for #52, #53, and #55 #54

Merged
merged 7 commits into from
Sep 19, 2014
Merged

Fix for #52, #53, and #55 #54

merged 7 commits into from
Sep 19, 2014

Conversation

jgkim
Copy link
Contributor

@jgkim jgkim commented Jun 14, 2014

This fixes #52 by increasing the length of translation_fidelity from 50 to 200, fixes #53 by simply removing a valid SDMJ document from the the set of invalid SDMJ documents, and fixed #55 by using a function factory. This also adds a preprocessor hook for the SDMX transform.

jgkim added 4 commits June 14, 2014 18:46
When the core data model has changed, we need a way to transform the SDMX document from the previous model to the new model for the backward compatibility. This commit adds `to_sdmx` method to `DataModelSerializers` class so that a preprocessor for the SDMX transform can be added per model basis.
…rializers` class

The variable `unbound_func` in the lambda function of `attach_to_data_model` method of `DataModelSerializers` class took the value from the surrounding scope. This made every overwritten serializer bound to the last value of `unbound_func`. This commit fixes this problem.
@jgkim jgkim changed the title Fix for #52 and #53 Fix for #52, #53, and #55 Jun 25, 2014
p2 added a commit that referenced this pull request Sep 19, 2014
I cannot test this but the code looks good, so I'll finally merge it into develop.
@p2 p2 merged commit ff67e0f into chb:develop Sep 19, 2014
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.

2 participants