smpl_animation.animation.dict_product¶
- smpl_animation.animation.dict_product(dicts)[source]¶
>>> d = {"number": [1,2], "color": ['a','b'] } >>> list(dict_product(d)) [{'number': 1, 'color': 'a'}, {'number': 1, 'color': 'b'}, {'number': 2, 'color': 'a'}, {'number': 2, 'color': 'b'}]
Deprecated since version 1.0.5: This will be removed in 1.2.0.