-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SqliteConnector has no attribute host #1067
Comments
@LiquidGunay it has probably be caused by the upgrade of pandas. Can you check out if the latest version works? |
No this did not fix the issue. As a workaround I modified the equals function of sql.py to not check for host and port and downgraded sqlalchemy to <2.0 |
@gventuri, it looks like reverting the upgrade of pandas doesn't affect this issue. Can we upgrade pandas and Modin once again? |
@gventuri, just a friendly reminder on my question above. Are you okay if I submit a PR on that matter once again? |
@gventuri, ah, I see! Thanks for letting me know this. Is there an open issue for the problem you mentioned about the SQL connectors relying on SQLalchemy? |
@gventuri, thank you for creating an issue for the problem! |
System Info
OS: Ubuntu
Python: 3.10
Same error on multiple pandasai versions from 2.07 to latest
🐛 Describe the bug
When I initialise an agent with a list of SqliteConnectors (one for each table of my db), and then proceed to chat with it, it throws an attribute error: SqliteConnector has no attribute host. I suspect there is an issue in the input validation.
The text was updated successfully, but these errors were encountered: