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

Can't instantiate abstract class MyVanna without an implementation for abstract method 'search_tables_metadata' #759

Open
louishust opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@louishust
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

When run the test with a user defined class Myvanna.

class MyVanna(ChromaDB_VectorStore, OpenAI_Chat):
    def __init__(self, config=None):
        ChromaDB_VectorStore.__init__(self, config=config)
        OpenAI_Chat.__init__(self, config=config)

this code comes error:

Can't instantiate abstract class MyVanna without an implementation for abstract method 'search_tables_metadata'

Expected behavior
No error

Error logs/Screenshots

Can't instantiate abstract class MyVanna without an implementation for abstract method 'search_tables_metadata'

Desktop (please complete the following information where):

  • OS: [e.g. macOS]
  • Version: [15.2]
  • Python: [3.12.2]
  • Vanna: [master branch, commit:ad014c44a4bf5bd15ffb576ffd85578ad17e1a2f]

Additional context
Add any other context about the problem here.

@louishust louishust added the bug Something isn't working label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant