Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/d/j/django-lfs-0.7.7/lfs/manage/product/variants.py   django-lfs(Download)
 
    # Create a variant for every requested option combination
    for i, options in enumerate(manage_utils.cartesian_product(*properties)):
 
        if product.has_variant(options):

src/d/j/django-lfs-HEAD/lfs/manage/product/variants.py   django-lfs(Download)
 
        # Create a variant for every requested option combination
        for i, options in enumerate(manage_utils.cartesian_product(*properties)):
            if product.has_variant(options, only_active=False):
                continue

src/l/f/lfs-HEAD/manage/views/product/variants.py   lfs(Download)
 
    # Create a variant for every requested option combination
    for i, options in enumerate(manage_utils.cartesian_product(*properties)):
 
        if product.has_variant(options):