Issue Setting up a cache
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PokeAPI/pokepy
-
Is this project dead? Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 10/100
-
Installation issue Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Create async client Aperta
-
Create sync client Aperta
Tutte le issue di PokeAPI/pokepy
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
browser-use/browser-use#5905 ·
-
type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ynput/ayon-python-api#363 ·
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
modelscope/FunASR#3728 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
open-compass/opencompass#2655 ·