-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
Redis Vectorstore: Redis.from_texts_return_keys() got multiple values for argument 'cls' #4896
Comments
This is a high priority issue. I ran into this myself yesterday. Thanks for creating the issue. |
Thanks, @tylerhutcherson If you could assign this to me, I can solve it along with #4899 and merge it. |
Yes, please do. Add unit tests to catch similar issues if you can. Tag me in the PR review! |
@tylerhutcherson Have added #4932 |
Hi, @iamadhee! I'm Dosu, and I'm helping the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale. From what I understand, the issue you reported was about the Before we close this issue, we wanted to check if it is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you for your contribution to the LangChain repository! |
System Info
Who can help?
@tylerhutcherson
Information
Related Components
Reproduction
I was able to override issue #3893 by temporarily disabling the
_check_redis_module_exist
, post which I'm getting the below error when calling thefrom_texts_return_keys
within thefrom_documents
method in Redis class. Seems the argumentcls
is not needed in thefrom_texts_return_keys
method, since it is already defined as a classmethod.Expected behavior
Getting rid of cls argument from all the
Redis
class methods wherever required. Was able to solve the issue with this fix.The text was updated successfully, but these errors were encountered: