Skip to content

Commit

Permalink
Set queries to false
Browse files Browse the repository at this point in the history
  • Loading branch information
gunthercox committed Jul 28, 2017
1 parent c6e8805 commit 449ff52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chatterbot/storage/sql_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ def __init__(self, **kwargs):

self.Session = sessionmaker(bind=self.engine, expire_on_commit=True)

# ChatterBot's internal query builder is not yet supported for this adapter
self.adapter_supports_queries = False

def count(self):
"""
Return the number of entries in the database.
Expand Down

0 comments on commit 449ff52

Please sign in to comment.