aio-libs / aio-libs/aiocache

JsonSerializer & SimpleMemoryBackend: get after increment raises TypeError

未关闭
#482 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。