From 19e2551e82c9bc74b47ff8c73cdfff1c9ee28cff Mon Sep 17 00:00:00 2001 From: Umair Khan Date: Fri, 6 Oct 2017 10:28:59 +0500 Subject: [PATCH] mypy: Change type to Dict for SignupWorker. --- zerver/worker/queue_processors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.py index d3ec026e70..e2d5968482 100644 --- a/zerver/worker/queue_processors.py +++ b/zerver/worker/queue_processors.py @@ -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))