Update crew_base.py

This commit is contained in:
Piotr Mardziel
2024-11-05 13:36:13 -08:00
committed by GitHub
parent f18ff6a87e
commit 75620fce50

View File

@@ -192,4 +192,8 @@ def CrewBase(cls: T) -> T:
callback_functions[callback]() for callback in callbacks
]
# Include base class (qual)name in the wrapper class (qual)name.
WrappedClass.__name__ = CrewBase.__name__ + "(" + cls.__name__ + ")"
WrappedClass.__qualname__ = CrewBase.__qualname__ + "(" + cls.__name__ ")"
return cast(T, WrappedClass)