예제 #1
0
 def __init__(self, brain, input_list, debug=False):
     """
     All input will be taken from `input_list`
     All output will be saved to output_list
     """
     assert isinstance(input_list, list)
     self.input_list = input_list
     self.output_list = []
     self.debug = debug
     JenniferClientSupportsResponders.__init__(self, brain)
 def __init__(self, brain, input_list, debug=False):
     """
     All input will be taken from `input_list`
     All output will be saved to output_list
     """
     assert isinstance(input_list, list)
     self.input_list = input_list
     self.output_list = []
     self.debug = debug
     JenniferClientSupportsResponders.__init__(self, brain)
 def __init__(self, brain):
     self.prompt = '> '
     # Must call JenniferNotificationClientBase.init before JenniferClientBase.init
     #   because JenniferClientBase.init is blocking
     JenniferClientSupportsNotification.__init__(self, brain)
     JenniferClientSupportsResponders.__init__(self, brain)
예제 #4
0
 def __init__(self, brain):
     self.prompt = '> '
     # Must call JenniferNotificationClientBase.init before JenniferClientBase.init
     #   because JenniferClientBase.init is blocking
     JenniferClientSupportsNotification.__init__(self, brain)
     JenniferClientSupportsResponders.__init__(self, brain)