mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
mypy: Change type to Dict for SignupWorker.
This commit is contained in:
@@ -175,7 +175,7 @@ class QueueProcessingWorker(object):
|
||||
@assign_queue('signups')
|
||||
class SignupWorker(QueueProcessingWorker):
|
||||
def consume(self, data):
|
||||
# type: (Mapping[str, Any]) -> None
|
||||
# type: (Dict[str, Any]) -> None
|
||||
user_profile = get_user_profile_by_id(data['user_id'])
|
||||
logging.info("Processing signup for user %s in realm %s" % (
|
||||
user_profile.email, user_profile.realm.string_id))
|
||||
|
||||
Reference in New Issue
Block a user