From a2e200b48dfcf5eada1f39535df631bb66a4a43e Mon Sep 17 00:00:00 2001 From: Kuroshini Date: Wed, 29 Jan 2020 22:53:28 +0300 Subject: [PATCH] fix typing --- apps/account/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/account/models.py b/apps/account/models.py index e67fef49..96a4916c 100644 --- a/apps/account/models.py +++ b/apps/account/models.py @@ -436,7 +436,7 @@ class User(AbstractUser): result.append(item.id) return set(result) - def set_roles(self, ids: List(int)): + def set_roles(self, ids: List[int]): """ Set user roles :param ids: list of role ids