def clean_DocType(self):
        doc_type = getattr(self, 'DocType', None)
        if doc_type and doc_type not in Document.DOC_TYPES:
            raise AvalaraValidationException(AvalaraException.CODE_BAD_DOCTYPE, doc_type % '%s is not a valid DocType')
dataset/ETHPy150Open activefrequency/pyavatax/pyavatax/base.py/Document.clean_DocType/swapped operands of `%`