code: def getFunction(self):
          
          return functionFactory(
              self.code,
              self.name,
              self.defaults,
              self.globals,
              self.imports,
          )
docs: Called by remote workers. Useful to populate main module globals()
          for interactive shells. Retrieves the serialized function.