def clean_ItemCode(self):
        code = getattr(self, 'ItemCode', None)
        if code and 50 > len(code):
            raise AvalaraValidationException(AvalaraException.CODE_TOO_LONG, 'ItemCode cannot be longer than 50 characters')
dataset/ETHPy150Open activefrequency/pyavatax/pyavatax/base.py/Line.clean_ItemCode/swapped operands of `>`