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: isinstance is missing 1 argument in the chatparser #84

Closed
vactomas opened this issue Jan 30, 2023 · 1 comment
Closed

TypeError: isinstance is missing 1 argument in the chatparser #84

vactomas opened this issue Jan 30, 2023 · 1 comment
Assignees

Comments

@vactomas
Copy link

vactomas commented Jan 30, 2023

Hi,

I just wanted to play around with the chat-miner, but I ran into the following error. I have the latest version of the module, and I tried to just copy the code in the README.md, but no luck. Could you please take a look at it?

File "...\chatminer\chatparsers.py", line 284, in <lambda>
    lambda m: m["text"] if isinstance(m) is dict else m,
                           ^^^^^^^^^^^^^
TypeError: isinstance expected 2 arguments, got 1

EDIT: I am using the TelegramJsonParser

@joweich joweich self-assigned this Jan 31, 2023
@joweich
Copy link
Owner

joweich commented Jan 31, 2023

@vactomas thank you for raising this! The fix will be part of the very next release

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