def __init__(self, *args, **kwargs):
        if len(args) > 1 and isinstance(args[0], int):
            self.code = args[0]
        super(AvalaraException, self).__init__(*args, **kwargs)
dataset/ETHPy150Open activefrequency/pyavatax/pyavatax/base.py/AvalaraException.__init__/original