Issue Setting up a cache
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with beckett/clients.py around line 194 and compare the cache setup path with the documented Pokepy resource behavior. Reproduce the traceback on the stated Python and Pokepy versions, then verify that cache initialization succeeds and client results match the resource classes shown in the documentation.
Written by the indexing model from the issue text.
Description
The API works great!!! Unfortunately while setting up caching, I consistently get this error:
File "C:\Users\{USER}\anaconda3\envs\apps\lib\site-packages\beckett\clients.py", line 194, in __init__
super(BaseClient, self).__init__(*args, **kwargs)
TypeError: object.__init__() takes exactly one argument (the instance to initialize)
I am running python: 3.8.12 on a windows 10 machine, with Pokepy version 0.4.
Another small issue is for whatever reason everytime I get a return from the client it is in a list instead of the pokepy resource class (as shown in the documentation). Any ideas?
- Dominant language
- Python
- Stars
- 135
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PokeAPI/pokepy
-
Difficulty 1/5 Under an hour Newbie friendliness 10/100
-
Installation issueOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Implement list method / query root endpointsMay be free again @Kronopt claimed this 2106 days ago, and no pull request is open. Open
-
Create async clientMay be free again @Kronopt claimed this 2106 days ago, and no pull request is open. Open
-
Create sync clientMay be free again @Kronopt claimed this 2106 days ago, and no pull request is open. Open
Similar issues
-
correction metadata
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
acl-org/acl-anthology#10104 · 1 comment ·
Maintainers usually reply within 1 day
-
bug status/needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
prowler-cloud/prowler#12885 · 1 comment ·
Maintainers usually reply within 1 day
-
Bug in GaussianTailProbabilityCalibrator: running_statistics=False still uses a windowed varianceOpenbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
selimfirat/pysad#107 ·
Maintainers usually reply within 1 day
-
bug ci-failure high priority
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vllm-project/vllm-omni#8194 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day