Prevent assign unknown attributes on Model
by adding __slots__ on PoolMeta issue8567 review254091002
This commit is contained in:
1 parent
b40be027ff
commit
d044563fd4
1 file changed
+2
@@ -33,6 +33,8 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class _SyntaxMixin(object):
|
||||
__slots__ = ()
|
||||
|
||||
@classmethod
|
||||
def get_syntaxes(cls):
|
||||
pool = Pool()
|
||||
|
||||
Reference in new issue
Block a user