From 5c1408a6ca793b942813e26aa88f990a3efcb140 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Sat, 24 Jul 2021 23:42:45 +0300 Subject: [PATCH] Adds missing `__slots__` for `edb.schema.objects.Field` (#2722) Refs https://github.com/python/mypy/pull/10864 --- edb/schema/objects.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/edb/schema/objects.py b/edb/schema/objects.py index 4c329ea46de..1e0c9209269 100644 --- a/edb/schema/objects.py +++ b/edb/schema/objects.py @@ -249,8 +249,10 @@ class Field(struct.ProtoField, Generic[T]): __slots__ = ('name', 'type', 'coerce', 'compcoef', 'inheritable', 'simpledelta', 'merge_fn', 'ephemeral', - 'allow_ddl_set', 'ddl_identity', - 'weak_ref', 'reflection_method') + 'allow_ddl_set', 'ddl_identity', 'special_ddl_syntax', + 'aux_cmd_data', 'describe_visibility', + 'weak_ref', 'reflection_method', 'reflection_proxy', + 'type_is_generic_self', 'is_reducible') #: Name of the field on the target class; assigned by ObjectMeta name: str