Untitled

mail@pastecode.io avatar
unknown
plain_text
15 days ago
368 B
3
Indexable
Never
    def filter_by_multiple_criteria(
        self, jobs_list: List[Dict], criteria: Dict
    ) -> List[Dict]:
        result = []
        for item in jobs_list:
            if (
                item["industry"] == criteria["industry"]
                and item["job_type"] == criteria["job_type"]
            ):
                result.append(item)
        return result
Leave a Comment