def release_hosts(host_filter_data, username=None):
 hosts = models.Host.query_objects(host_filter_data)
 reservations.release(hosts_to_release=[h.hostname for h in hosts], username=username)

def release_hosts ( host_filter_data , username = None ) : hosts = models . Host . query_objects ( host_filter_data ) reservations . release ( hosts_to_release = [ h . hostname for h in hosts ] , username = username )
release some hosts .