code: def bulk_get(cls, tasks, api=None):
          
          api = api or cls._API
          task_ids = [Transform.to_task(task) for task in tasks]
          data = {'task_ids': task_ids}
  
          logger.info('Getting tasks in bulk.')
          response = api.post(url=cls._URL['bulk_get'], data=data)
          return TaskBulkRecord.parse_records(response=response, api=api)
docs: Retrieve tasks with specified ids in bulk
          :param tasks: Tasks to be retrieved.
          :param api: Api instance.
          :return: List of TaskBulkRecord objects.