def __setattr__(self, name, value):
    if (name == 'hashing'):
        self.__hashing = value
    elif (name == 'basepath'):
        self.__basepath = value
    elif (name == 'onerror'):
        self.__onerror = value
    elif (name == 'trusted'):
        self.__trusted = value
    else:
        return super().__setattr__(name, value)
    self.metadata_process()
def __setattr__(self, name, value):
    if (name == 'hashing'):
        self.__hashing = value
    elif (name == 'basepath'):
        self.__basepath = value
    elif (name == 'onerror'):
        self.__onerror = value
    elif (name == 'trusted'):
        self.__trusted = value
    else:
        return super().__setattr__(name, value)
    self.metadata_process()