code: def eval_py(self, _globals, _locals):
          
          try:
              params = eval(self.script, _globals, _locals)
          except NameError as e:
              raise Exception(
                  'Failed to evaluate parameters: {}'
                  .format(str(e))
              )
          except ResolutionError as e:
              raise Exception('GetOutput: {}'.format(str(e)))
  
          return params
docs: Evaluates a file containing a Python params dictionary.