@ -3,8 +3,11 @@ from chatter.chatterbot.storage import StorageAdapter
class Query(object):
def __init__(self, query={}):
def __init__(self, query=None):
self.query = query
if query is None:
self.query = {}
else:
def value(self):
return self.query.copy()