def _get_module_and_context(context):
 pricing_mod = get_pricing_module()
 pricing_ctx = pricing_mod.get_context(context)
 return (pricing_mod, pricing_ctx)

def _get_module_and_context ( context ) : pricing_mod = get_pricing_module ( ) pricing_ctx = pricing_mod . get_context ( context ) return ( pricing_mod , pricing_ctx )
get current pricing module and context converted to pricing context .