fix: Resolve lint issue

This commit is contained in:
14987 2024-02-01 16:01:36 +05:30
parent ff6d64baa7
commit cd24f32239
No known key found for this signature in database
GPG key ID: ED4A241EAB170273

View file

@ -824,10 +824,10 @@ def update_password(
"""Update password for the current user.
Args:
new_password (str): New password.
logout_all_sessions (int, optional): If set to 1, all other sessions will be logged out. Defaults to 0.
key (str, optional): Password reset key. Defaults to None.
old_password (str, optional): Old password. Defaults to None.
new_password (str): New password.
logout_all_sessions (int, optional): If set to 1, all other sessions will be logged out. Defaults to 0.
key (str, optional): Password reset key. Defaults to None.
old_password (str, optional): Old password. Defaults to None.
"""
if len(new_password) > MAX_PASSWORD_SIZE: