@classmethod
    def get_recent_notifications(cls, user_id):
        user_model = user_models.UserRecentChangesBatchModel.get(
            user_id, strict=False)
        return (
            user_model.job_queued_msec if user_model else None,
            user_model.output if user_model else [])
Test PackageFinder prefers page links over equivalent dependency links
dataset/ETHPy150Open oppia/oppia/core/domain/user_jobs_continuous.py/DashboardRecentUpdatesAggregator.get_recent_notifications--crossover with--dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/test_finder_priority_page_over_deplink