@classmethod
    def from_command(cls, command):
        return cls(command.script, command.cwd, command.artifacts,
                   command.env, command.label, command.type)
Creates a FutureCommand from an existing Command database object.
dataset/ETHPy150Open dropbox/changes/changes/models/command.py/FutureCommand.from_command