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

Unicode Problems #54

Open
nexttonever opened this issue May 26, 2020 · 0 comments
Open

Unicode Problems #54

nexttonever opened this issue May 26, 2020 · 0 comments

Comments

@nexttonever
Copy link

nexttonever commented May 26, 2020

unicode is not good for some class, like Decimal, unicode will convert it to "Decimal xxx",but not pure number string. This could cause error. However it can be solved by manually convert that variable to str.
But sometimes it cannot be avoided. For example,
delete just one field:
{
"id": 1,
"fieldToBeDelete": {"set": None}
}

"None" will be serialized to "None" but not null, and Solr server will accept it as a new value,rather than to delete this field. This may be terrible.

Can you fix this problem? or moreover provide a way to replace 'unicode' by some option?

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

1 participant