@staticmethod
    def new(ws, **kwargs):
        assert 'command_id' not in kwargs, "New commands should not be given a command_id yet"
        assert 'type' not in kwargs, "New commands don't need to be passed a type parameter, one will be assigned."
        data = {'command_id': str(uuid.uuid1()),
                'type': 'command'}
        data.update(kwargs)
        cmd = Command(ws, data)
        cmd.new_command = True
        return cmd
Write the configuration to disk, removing keys that are not permitted to be
dataset/ETHPy150Open datastax/cstar_perf/frontend/cstar_perf/frontend/lib/socket_comms.py/Command.new--crossover with--dataset/ETHPy150Open dcos/dcos/ext/dcos-installer/dcos_installer/config/__init__.py/DCOSConfig.write