

def _group_scale(group_id, scale_factor, force):
    '\n    :param group_id: the id of the group\n    :type group_id: str\n    :param scale_factor: scale factor for application group\n    :type scale_factor: str\n    :param force: whether to override running deployments\n    :type force: bool\n    :returns: process return code\n    :rtype: int\n    '
    client = marathon.create_client()
    scale_factor = util.parse_float(scale_factor)
    deployment = client.scale_group(group_id, scale_factor, force)
    emitter.publish('Created deployment {}'.format(deployment))
    return 0

dataset/ETHPy150Open dcos/dcos-cli/cli/dcoscli/marathon/main.py _group_scale/original