PyInquirer\prompts\input.py", line 20 TypeError: issubclass() arg 1 must be a class
See original GitHub issueTraceback (most recent call last):
File "main.py", line 8, in <module>
answers = choice()
File "C:\Users\x\choice.py", line 85, in choice
answers = Dict(prompt(questions, style=style))
File "D:\Program Files\Python37\lib\site-packages\PyInquirer\prompt.py", line 63, in prompt
application = getattr(prompts, type).question(message, **_kwargs)
File "D:\Program Files\Python37\lib\site-packages\PyInquirer\prompts\input.py", line 20, in question
if issubclass(validate_prompt, Validator):
File "D:\Program Files\Python37\lib\abc.py", line 143, in __subclasscheck__
return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
issubclass() arg 1 must be a class - Stack Overflow
I have zero idea as to why I'm getting this error. python.
Read more >TypeError: issubclass() arg 1 must be a class #1298 - GitHub
I would like to share another weird edge case (with a workaround if it can help someone...) Versions. Python 3.9.9 pydantic==1.8.2. Repro. from ......
Read more >TypeError: issubclass() arg 1 must be a class : Forums
TypeError : issubclass() arg 1 must be a class. Installed the vkbottle module through the console, I import it into the code and...
Read more >6423 (technical_500_response fails on String Exceptions)
The formated 500 response pages you get with DEBUG = True will fail if the error that is raised is a string, instead...
Read more >tiangolo/fastapi - Gitter
items.py", line 7, in get_items return Item.from_orm(db_get_items()) File ". ... TypeError: issubclass() arg 1 must be a class During handling of the above ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, I’m having this exact same problem when trying to run the example code
The issue has been fixed and the fix is merged