File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,13 @@ def __repr__(self) -> str:
237237 def fullname (self ) -> str :
238238 return f"{ self .module_name } .{ self .name } "
239239
240+ @property
241+ def allow_interpreted_subclasses (self ) -> bool :
242+
243+ @allow_interpreted_subclasses .setter
244+ def _ (self , value : bool ) -> None :
245+ self ._allow_interpreted_subclasses = value
246+
240247 def real_base (self ) -> ClassIR | None :
241248 """Return the actual concrete base class, if there is one."""
242249 if len (self .mro ) > 1 and not self .mro [1 ].is_trait :
@@ -380,7 +387,7 @@ def serialize(self) -> JsonDict:
380387 "is_final_class" : self .is_final_class ,
381388 "inherits_python" : self .inherits_python ,
382389 "has_dict" : self .has_dict ,
383- "allow_interpreted_subclasses" : self .allow_interpreted_subclasses ,
390+ "allow_interpreted_subclasses" : self ._allow_interpreted_subclasses ,
384391 "needs_getseters" : self .needs_getseters ,
385392 "_serializable" : self ._serializable ,
386393 "builtin_base" : self .builtin_base ,
You can’t perform that action at this time.
0 commit comments