From d044563fd405d6d8e9e4fcee33d5e32fb654c611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 7 Sep 2019 23:45:08 +0200 Subject: [PATCH] Prevent assign unknown attributes on Model by adding __slots__ on PoolMeta issue8567 review254091002 --- account.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/account.py b/account.py index ab39791947..cf555b19de 100644 --- a/account.py +++ b/account.py @@ -33,6 +33,8 @@ logger = logging.getLogger(__name__) class _SyntaxMixin(object): + __slots__ = () + @classmethod def get_syntaxes(cls): pool = Pool()