diff --git a/src/python/jw/pkg/lib/Types.py b/src/python/jw/pkg/lib/Types.py index bfae01ad..344da9ca 100644 --- a/src/python/jw/pkg/lib/Types.py +++ b/src/python/jw/pkg/lib/Types.py @@ -102,7 +102,10 @@ class LoadTypes(Types[T]): # export self._debug(f'o "{name}" has wrong name') continue if inspect.isabstract(c): - self._debug(f'o "{name}" is abstract: {c.__abstractmethods__}') + abstract: frozenset[str] = getattr( + c, '__abstractmethods__', frozenset() + ) + self._debug(f'o "{name}" is abstract: {abstract}') continue if self.__type_filter: for tp in self.__type_filter: