def get_pricing_steps_for_products(context, products):
 (mod, ctx) = _get_module_and_context(context)
 steps = mod.get_pricing_steps_for_products(ctx, products)
 for module in get_discount_modules():
  steps = module.get_pricing_steps_for_products(ctx, products, steps)
 return steps

def get_pricing_steps_for_products ( context , products ) : ( mod , ctx ) = _get_module_and_context ( context ) steps = mod . get_pricing_steps_for_products ( ctx , products ) for module in get_discount_modules ( ) : steps = module . get_pricing_steps_for_products ( ctx , products , steps ) return steps
get pricing steps for a bunch of products .