mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
python: Reformat with Black, except quotes.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
5028c081cb
commit
11741543da
@@ -9,8 +9,9 @@ from zerver.models import UserProfile
|
||||
|
||||
@human_users_only
|
||||
@has_request_variables
|
||||
def set_tutorial_status(request: HttpRequest, user_profile: UserProfile,
|
||||
status: str=REQ(validator=check_string)) -> HttpResponse:
|
||||
def set_tutorial_status(
|
||||
request: HttpRequest, user_profile: UserProfile, status: str = REQ(validator=check_string)
|
||||
) -> HttpResponse:
|
||||
if status == 'started':
|
||||
user_profile.tutorial_status = UserProfile.TUTORIAL_STARTED
|
||||
elif status == 'finished':
|
||||
|
||||
Reference in New Issue
Block a user