Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Issue Setting up a cache

Open
#75 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
api, backend

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PokeAPI/pokepy

All issues in PokeAPI/pokepy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.