def _list_runs(self, parsed_args, parsed_globals):
    query = QueryArgBuilder().build_query(parsed_args)
    object_ids = self._query_objects(parsed_args.pipeline_id, query)
    objects = self._describe_objects(parsed_args.pipeline_id, object_ids)['pipelineObjects']
    converted = convert_described_objects(objects, sort_key_func=(lambda x: (x.get('@scheduledStartTime'), x.get('name'))))
    formatter = self._get_formatter(parsed_globals)
    formatter(self.NAME, converted)
def _list_runs(self, parsed_args, parsed_globals):
    query = QueryArgBuilder().build_query(parsed_args)
    object_ids = self._query_objects(parsed_args.pipeline_id, query)
    objects = self._describe_objects(parsed_args.pipeline_id, object_ids)['pipelineObjects']
    converted = convert_described_objects(objects, sort_key_func=(lambda x: (x.get('@scheduledStartTime'), x.get('name'))))
    formatter = self._get_formatter(parsed_globals)
    formatter(self.NAME, converted)