Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Issue Setting up a cache

Aperta
#75 10 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Python
Stelle
135
Fork
26
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PokeAPI/pokepy

Tutte le issue di PokeAPI/pokepy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.