Closed RamiAwar closed 1 year ago
Will try to fix this when I have a chance
@RamiAwar what's your SQLAlchemy version?
Can you try running:
pip uninstall -y sqlalchemy
pip install sqlalchemy>=2.0.9
and see if that fixes the issue?
Hey Shreya, interestingly, I just cloned the repo and installed it as an editable package and it now works fine.. My IDE also detected the mapping fine.
I have sqlalchemy set to ^2.0.13. Maybe I forgot to restart my kernel after updating sqlalchemy or something like this, I think it's a not an issue anymore, you can close this!
Thanks for the quick response! I'm planning to re-write my Text2SQL app https://dataline.app using guardrails instead of manual prompts, so I'm excited to contribute where I can!
Describe the bug Installed guardrails-ai, happened with both sqlalchemy versions 1.4.x and 2.x after I updated to try and fix this.
To Reproduce Steps to reproduce the behavior:
from guardrails.document_store import DocumentStoreBase, EphemeralDocumentStore
Expected behavior No exception
Library version: Version 0.1.6 (latest)