From 878fb9cf4f64663bf7ba2eca8d5126ff547056bf Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Thu, 10 Oct 2024 17:14:00 +0200 Subject: [PATCH] Fix: Repr for Parameter should contain param_type, not type --- nucon/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucon/core.py b/nucon/core.py index d6f0709..6e61871 100644 --- a/nucon/core.py +++ b/nucon/core.py @@ -99,7 +99,7 @@ class NuconParameter: self.nucon.set(self, new_value, force) def __repr__(self): - return f"NuconParameter(id='{self.id}', value={self.value}, type={self.param_type.__name__}, writable={self.is_writable})" + return f"NuconParameter(id='{self.id}', value={self.value}, param_type={self.param_type.__name__}, writable={self.is_writable})" def __str__(self): return self.id