Do I have to manually cache data?
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing repeated pokebase.pokemon("charmander") calls in a Python console and inspect how pokebase.cache.save() relates to those calls. Trace whether the second request reaches the server; done means establishing the actual cache behavior and clarifying whether manual cache saving is required.
由索引模型根据 Issue 内容生成。
描述
Hello, I have a question about caching data. I wonder if I have to manually call pokebase.cache.save() to save cache.
When sending pokebase.pokemon("charmander") multiple times to Python console, it seems to be requesting data from the server even after the first request.
*I haven't confirmed precisely whether the api call actually tries to retrieve data from the server. I am just guessing since I have to wait couple of seconds before pokebase.pokemon() returns console prompt
- 主要语言
- Python
- 星标
- 363
- 派生
- 59
- 平均合并
- 11 天 20 小时
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PokeAPI/pokebase 的其他 Issue
-
Status update未关闭
难度 5/5 一周以上 新手友好度 20/100
-
难度 5/5 一周以上 新手友好度 30/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 66/100
AlexsLemonade/scpca-docs#518 ·
-
bug
难度 1/5 1 小时以内 新手友好度 95/100
rocketride-org/rocketride-server#2705 · 1 条评论 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 85/100
Metabuilder-Labs/tokenjam#786 ·
维护者通常 1 天内回复
-
prototype(verifier_token): map disallowed warning to contraindicated before composite precedence check可能已有人在做 @drk-ram 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
agentrust-io/trace-spec#582 ·
维护者通常 1 天内回复
-
area:cli priority:low refactor size:small
难度 1/5 1 小时以内 新手友好度 88/100
RonaldHensbergen/composable-data-stack#906 ·
维护者通常 1 天内回复