Extract get_customers generator