def change_password(self, user: User, new_password: str) -> None: with self._session_cm as scm: user.password = new_password scm.session.commit()
def change_password(self, user: User, new_password: str) -> None: user.password = new_password
def change_password(self, user: User, new_password: str) -> None: with self._session_cm as scm: user.password = new_password scm.session.commit()
def change_password(self, user: User, new_password: str) -> None: user.password = new_password