Sourcery suggested a nifty Python refactoring to move from nested for loops to using itertools.product
The bug is that the 2nd set of key/values should also be wrapped in parentheses like domain_key and domain_v are. When doing the refactoring those were left out and caused an error.
Sourcery suggested a nifty Python refactoring to move from nested for loops to using itertools.product
The bug is that the 2nd set of key/values should also be wrapped in parentheses like domain_key and domain_v are. When doing the refactoring those were left out and caused an error.