@override
    def offer_resources(self, resources):
        key = 'analyze_db_task_pool'
        if key not in resources:
            return None
        for resource in resources[key]:
            if resource.remaining() >= 1:
                return {key: [(resource.identifier, 1)]}
        return None
dataset/ETHPy150Open NVIDIA/DIGITS/digits/dataset/tasks/analyze_db.py/AnalyzeDbTask.offer_resources/original