def __repr__(self):
        configuration_str = "None"
        if self.configuration is not None:
            configuration_str = ( "*".join("" for _ in self.configuration) )
        user_auth_repr = "DbUserAuth(id = %r, user = %r, auth = %r, configuration = %r)" % (
            self.id,
            self.user,
            self.auth,
            configuration_str
        )
        if isinstance(user_auth_repr, unicode):
            user_auth_repr = user_auth_repr.encode('utf-8')
        return user_auth_repr
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/db/model.py/DbUserAuth.__repr__/original