parameters: (self)
docstring: Morph this Null executor to a real Executor object.
docstring_summary: Morph this Null executor to a real Executor object.
docstring_tokens: Morph this Null executor to a real Executor object .
function: def _morph(self):
          """Morph this Null executor to a real Executor object."""
          batches = self.batches
          self.__class__ = Executor
          self.__init__([])
          self.batches = batches
function_tokens: def _morph ( self ) : batches = self . batches self . __class__ = Executor self . __init__ ( [ ] ) self . batches = batches