mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
mypy: Move type annotation in jira/view.py before general comments.
This commit is contained in:
committed by
Tim Abbott
parent
db0b985e82
commit
6cb3a2ab1a
@@ -167,10 +167,10 @@ def add_change_info(content, field, from_field, to_field):
|
||||
return content
|
||||
|
||||
def handle_updated_issue_event(payload, user_profile):
|
||||
# type: (Dict[str, Any], UserProfile) -> Text
|
||||
# Reassigned, commented, reopened, and resolved events are all bundled
|
||||
# into this one 'updated' event type, so we try to extract the meaningful
|
||||
# event that happened
|
||||
# type: (Dict[str, Any], UserProfile) -> Text
|
||||
issue_id = get_in(payload, ['issue', 'key'])
|
||||
issue = get_issue_string(payload, issue_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user