-
Notifications
You must be signed in to change notification settings - Fork 148
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
JsonSerializer & SimpleMemoryBackend: get after increment raises TypeError #482
Comments
pull request with fix: #483 |
Problem is that increment seems to be an operation that should be done on the backend efficiently. This requires storing the value as an int in the backend. If you are using a serialiser that changes the values (e.g. JSON converts to str stored in the backend), then this obviously won't work. We should put a warning or something in the docs, and maybe see if we can disable the |
As result: TypeError the JSON object must be str, bytes or bytearray, not int
The text was updated successfully, but these errors were encountered: