From a2385e3b268ce6a43dde16a18eca72a37c1fbb2b Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Tue, 9 Jan 2024 07:51:40 +0000 Subject: [PATCH] pair setter and getter --- python_models8/neuron/input_types/my_input_type.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python_models8/neuron/input_types/my_input_type.py b/python_models8/neuron/input_types/my_input_type.py index a6bece4..a468247 100644 --- a/python_models8/neuron/input_types/my_input_type.py +++ b/python_models8/neuron/input_types/my_input_type.py @@ -33,14 +33,14 @@ def __init__( def my_multiplicator(self): return self._my_multiplicator - @property - def my_input_parameter(self): - return self._my_input_parameter - @my_multiplicator.setter def my_multiplicator(self, my_multiplicator): self._my_multiplicator = my_multiplicator + @property + def my_input_parameter(self): + return self._my_input_parameter + @my_input_parameter.setter def my_input_parameter(self, my_input_parameter): self._my_input_parameter = my_input_parameter