def post(self, reset_token): post_data = request.json post_data.update(dict(reset_key=reset_token)) return Auth.reset_password(data=post_data)
def post(self) -> Tuple[Dict[str, str], int]: # get auth token post_data = request.json return Auth.reset_password(data=post_data)