You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The title of a class added using "add_class_arguments" is printed as str(TestClass) instead of TestClass.__name__ as expected.
This lead to the title be: "<class 'main.TestClass'>" instead of "TestClass"
Thank you for reporting! Actually this was implemented explicitly like this. The idea was more that people would add docstrings to their classes and functions. But sure, it could be changed to not be a raw str conversion. Though, if changed, I would say it should be a short phrase instead of just the class name, e.g. f"Options for {function_or_class.__name__}".
🐛 Bug report
The title of a class added using "add_class_arguments" is printed as
str(TestClass)
instead ofTestClass.__name__
as expected.This lead to the title be: "<class 'main.TestClass'>" instead of "TestClass"
To reproduce
The result is:
Expected behavior
Environment
The text was updated successfully, but these errors were encountered: