From ca59cbe3a3ac36d620b4e97ce6a58557991f7ef7 Mon Sep 17 00:00:00 2001 From: Karl W Schulz Date: Sat, 2 Mar 2024 12:25:18 -0600 Subject: [PATCH] apply formatter Signed-off-by: Karl W Schulz --- src/utils/specs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/specs.py b/src/utils/specs.py index 197b0ceb1..e07cb9306 100644 --- a/src/utils/specs.py +++ b/src/utils/specs.py @@ -69,11 +69,13 @@ def detect_arch(_rocminfo): else: return (gpu_arch, idx1) -# Custom decorator to mimic the behavior of kw_only found in Python 3.10 + +# Custom decorator to mimic the behavior of kw_only found in Python 3.10 def kw_only(cls): def __init__(self, *args, **kwargs): for name, value in kwargs.items(): setattr(self, name, value) + cls.__init__ = __init__ return cls