Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: issubclass() arg 1 must be a class #870

Open
KaliCharan-V opened this issue Jul 3, 2024 · 1 comment
Open

TypeError: issubclass() arg 1 must be a class #870

KaliCharan-V opened this issue Jul 3, 2024 · 1 comment

Comments

@KaliCharan-V
Copy link

Installed latest version of aiocache: pip install aiocache
Code: cache = Cache(Cache.MEMORY)
Error: if not issubclass(cache_class, BaseCache):
TypeError: issubclass() arg 1 must be a class

@Dreamsorcerer
Copy link
Member

Unable to reproduce:

> pip3 install aiocache --upgrade
...
Successfully installed aiocache-0.12.2
> python3
Python 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0] on linux
>>> import aiocache
>>> aiocache.Cache(aiocache.Cache.MEMORY)
<aiocache.backends.memory.SimpleMemoryCache object at 0x7fcaa53a8c10>
>>>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants