From 67fc739ca86ddd12383f0a196613cac04aad4695 Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 16 Aug 2018 14:51:57 -0400 Subject: [PATCH] Don't validate adapters --- chatter/chatterbot/chatterbot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chatter/chatterbot/chatterbot.py b/chatter/chatterbot/chatterbot.py index 988482f..d6e9cea 100644 --- a/chatter/chatterbot/chatterbot.py +++ b/chatter/chatterbot/chatterbot.py @@ -33,9 +33,9 @@ class ChatBot(object): output_adapter = kwargs.get('output_adapter', 'chatter.chatterbot.output.OutputAdapter') # Check that each adapter is a valid subclass of it's respective parent - utils.validate_adapter_class(storage_adapter, StorageAdapter) - utils.validate_adapter_class(input_adapter, InputAdapter) - utils.validate_adapter_class(output_adapter, OutputAdapter) + # utils.validate_adapter_class(storage_adapter, StorageAdapter) + # utils.validate_adapter_class(input_adapter, InputAdapter) + # utils.validate_adapter_class(output_adapter, OutputAdapter) self.logic = MultiLogicAdapter(**kwargs) self.storage = utils.initialize_class(storage_adapter, **kwargs)