

def __describe_instances(self, parameters):
    ' Query the back-end EC2 services for instance details and return\n    a list of instances. This is equivalent to running the standard\n    ec2-describe-instances command. The returned list of instances\n    will contain all the running and pending instances and it might\n    also contain some recently terminated instances.\n\n    Args:\n      parameters: A dictionary of parameters.\n    Returns:\n      A list of instances (element type definition in boto.ec2 package).\n    '
    conn = self.open_connection(parameters)
    reservations = conn.get_all_instances()
    instances = [i for r in reservations for i in r.instances]
    return r

dataset/ETHPy150Open AppScale/appscale-tools/lib/agents/ec2_agent.py EC2Agent.__describe_instances/VarMisuse@48/218 `instances`->`r`