def get_recent_runners(self,
                           name: str,
                           count: int = 10) -> List[SchedulerRunner]:
        """Get recent runners order by created_at in desc

        Args:
            name: item name
            count: the number of runners
        """
        with get_session(self.db_engine) as session:
            runners = session.query(SchedulerRunner).join(
                SchedulerItem,
                SchedulerItem.id == SchedulerRunner.item_id).filter(
                    SchedulerItem.name == name).order_by(
                        SchedulerRunner.created_at.desc()).limit(count)
            if not runners:
                return []
            return runners
Get recent runners order by created_at in desc

        Args:
            name: item name
            count: the number of runners
        
web_console_v2/api/fedlearner_webconsole/composer/composer.py