

def add_file(self, filepath):
    if os.path.isfile(self):
        self.files.append(filepath)
    else:
        raise ValueError('Argument must be a file.')

dataset/ETHPy150Open smsapi/smsapi-python-client/smsapi/proxy.py ApiHttpProxy.add_file/VarMisuse@19/21 `filepath`->`self`