(self)
return instance_dict
Responses from this API call are cached to prevent hitting any AWS request limits
Responses from this API call are cached to prevent hitting any AWS request limits
Responses from this API call are cached to prevent hitting any AWS request limits
def _get_instances_by_market(self):
        """ Responses from this API call are cached to prevent hitting any AWS request limits """
        instance_dict: Mapping[InstanceMarket, List[Mapping]] = defaultdict(list)
        for instance in ec2_describe_instances(self.instance_ids):
            instance_dict[get_instance_market(instance)].append(instance)
        return instance_dict
def _get_instances_by_market ( self ) : instance_dict : Mapping [ InstanceMarket , List [ Mapping ] ] = defaultdict ( list ) for instance in ec2_describe_instances ( self . instance_ids ) : instance_dict [ get_instance_market ( instance ) ] . append ( instance ) return instance_dict