

def __init__(self, file_obj, extension):
    self.file_obj = file_obj
    self.filepath = file_obj.name
    file_obj.filename = os.path.basename(self.filepath)
    self.document = os.path.splitext(self.filename)[0]
    self.extension_to = extension

dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/converter.py FileConverter.__init__/VarMisuse@28/38 `self`->`file_obj`