def load_target(self):
    module = load_python_file(self.python_file, self.working_directory)
    if (not hasattr(module, self.fn_name)):
        raise DagsterInvariantViolationError('{name} not found at module scope in file {file}.'.format(name=self.fn_name, file=self.python_file))
    return getattr(module, self.fn_name)
def load_target(self):
    module = load_python_file(self.python_file, self.working_directory)
    if (not hasattr(module, self.fn_name)):
        raise DagsterInvariantViolationError('{name} not found at module scope in file {file}.'.format(name=self.fn_name, file=self.python_file))
    return getattr(module, self.fn_name)