Update gen_exp_pattern_classes.py

Missing import fixed