Argument of type "str" cannot be assigned
Closed this issue · 7 comments
FalcoTK commented
char = input("input char: ")
chat = client.chat.get_chat(char) #<< here the erorr
then how do I fix it, after I run it once it can't be run again
Karvp commented
Can you provide more detail like the traceback, etc.
FalcoTK commented
Karvp commented
What version of python are u using? Or did u enable type checking in vscode? disable it, in the init of PyCAI, chat has been overwritten with itself, vsc is wrong
KubaPro010 commented
Karvp commented
@KubaPro010 I did mean the class wasn't initiated. Sorry for my messed-up words.
FalcoTK commented
FalcoTK commented
done