original_docstring:  Execute install workflow on a deployment group.
      :param group_id: An existing deployment group ID.
      :type group_id: str
      :param rest_client: A Cloudify REST client.
      :type rest_client: cloudify_rest_client.client.CloudifyClient
      :return: request's JSON response
      :rtype: dict
      
docstring: Execute install workflow on a deployment group.
docstring_tokens: Execute install workflow on a deployment group .
code: def install_deployments(group_id, rest_client):
      """ Execute install workflow on a deployment group.
      :param group_id: An existing deployment group ID.
      :type group_id: str
      :param rest_client: A Cloudify REST client.
      :type rest_client: cloudify_rest_client.client.CloudifyClient
      :return: request's JSON response
      :rtype: dict
      """
      attempts = 0
      while True:
          try:
              return rest_client.execution_groups.start(group_id, 'install')
          except (DeploymentEnvironmentCreationPendingError,
                  DeploymentEnvironmentCreationInProgressError) as e:
              attempts += 1
              if attempts > 15:
                  raise cfy_exc.NonRecoverableError(
                      'Maximum attempts waiting '
                      'for deployment group {group}" {e}.'.format(
                          group=group_id, e=e))
              sleep(5)
              continue
code_tokens: def install_deployments ( group_id , rest_client ) : attempts = 0 while True : try : return rest_client . execution_groups . start ( group_id , 'install' ) except ( DeploymentEnvironmentCreationPendingError , DeploymentEnvironmentCreationInProgressError ) as e : attempts += 1 if attempts > 15 : raise cfy_exc . NonRecoverableError ( 'Maximum attempts waiting ' 'for deployment group {group}" {e}.' . format ( group = group_id , e = e ) ) sleep ( 5 ) continue
short_docstring: Execute install workflow on a deployment group.
short_docstring_tokens: Execute install workflow on a deployment group .
comment: """ Execute install workflow on a deployment group.
      :param group_id: An existing deployment group ID.
      :type group_id: str
      :param rest_client: A Cloudify REST client.
      :type rest_client: cloudify_rest_client.client.CloudifyClient
      :return: request's JSON response
      :rtype: dict
      """