From 08c8546ded86f79a31199072e5c9478598d04913 Mon Sep 17 00:00:00 2001 From: "Martin K. Scherer" Date: Thu, 7 Dec 2023 16:40:42 +0100 Subject: [PATCH] format --- weldx_widgets/widget_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weldx_widgets/widget_base.py b/weldx_widgets/widget_base.py index 48b92ef..46fb499 100644 --- a/weldx_widgets/widget_base.py +++ b/weldx_widgets/widget_base.py @@ -12,7 +12,7 @@ def metaclass_resolver(*classes): """Merge multiple meta classes.""" # Does something like this: # https://coderedirect.com/questions/163000/multiple-inheritance-metaclass-conflict - metaclass = tuple(set(type(cls) for cls in classes)) + metaclass = tuple({type(cls) for cls in classes}) def cls_name(classes): return "_".join(mcls.__name__ for mcls in classes)