def on_init(self):
     InstrumentAgent.on_init(self)
 def __init__(self, initial_state=InstrumentAgentState.UNINITIALIZED):
     log.debug('ExternalDatasetAgent.__init__: initial_state = {0}'.format(initial_state))
     InstrumentAgent.__init__(self, initial_state)
     self._fsm.add_handler(InstrumentAgentState.STREAMING, InstrumentAgentEvent.EXECUTE_RESOURCE, self._handler_streaming_execute_resource)