def weigh_hosts(self, topic, request_spec, hosts):
        return [dict(weight=1, hostname=hostname, capabilities=capabilities)
                for hostname, capabilities in hosts]
Return an iterator which yields the paths matching a pathname pattern.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/scheduler/abstract_scheduler.py/AbstractScheduler.weigh_hosts--crossover with--dataset/ETHPy150Open bendavis78/python-gitmodel/gitmodel/utils/path.py/glob