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

XML based mappers don't serialize to string properly #125

Open
azaroth42 opened this issue Aug 28, 2024 · 0 comments
Open

XML based mappers don't serialize to string properly #125

azaroth42 opened this issue Aug 28, 2024 · 0 comments
Assignees

Comments

@azaroth42
Copy link
Collaborator

>>> d = cfgs.external['viaf']['datacache']['8612829']
>>> r = cfgs.external['viaf']['mapper'].transform(d, 'Person') 
>>> type(r['data']['_label'])
<class 'lxml.etree._ElementUnicodeResult'>

And thus any test based on the transformed version, rather than the version that has been serialized to cache and then retrieved, will be weird.

@kkdavis14 kkdavis14 self-assigned this Dec 6, 2024
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

No branches or pull requests

2 participants