JsonSerializer & SimpleMemoryBackend: get after increment raises TypeError
未关闭
- 主要语言
- Python
- 星标
- 1.4k
- 派生
- 181
- PR 合并指标
- 30 天内没有已合并 PR
描述
- int type is added into dict in [SimpleMemoryBackend.increment](https://github.com/argaen/aiocache/blob/0.11.1/aiocache/backends/memory.py#L60)
- [JsonSerializer.loads](https://github.com/argaen/aiocache/blob/0.11.1/aiocache/serializers/serializers.py#L151) tries to load int value.
As result: TypeError the JSON object must be str, bytes or bytearray, not int
贡献指南
评估
这个 Issue 还没有评估数据。