From b011d98e072c70e630dd7e1275222815cfdde98e Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sun, 23 Apr 2023 16:21:34 +0200 Subject: [PATCH] Expose fixed parameter as setting --- pyhon/__main__.py | 0 pyhon/commands.py | 3 --- setup.py | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) mode change 100755 => 100644 pyhon/__main__.py diff --git a/pyhon/__main__.py b/pyhon/__main__.py old mode 100755 new mode 100644 diff --git a/pyhon/commands.py b/pyhon/commands.py index dc7bf0c..53c7647 100644 --- a/pyhon/commands.py +++ b/pyhon/commands.py @@ -89,8 +89,6 @@ class HonCommand: for key, parameter in ( command._parameters | command._ancillary_parameters ).items(): - if isinstance(parameter, HonParameterFixed): - continue if key not in keys: keys.append(key) return keys @@ -108,7 +106,6 @@ class HonCommand: @property def settings(self) -> Dict[str, HonParameter]: - """Parameters with typology enum and range""" return { s: param for s in self.setting_keys diff --git a/setup.py b/setup.py index 2d7fd96..488cfeb 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r") as f: setup( name="pyhOn", - version="0.8.3", + version="0.8.4", author="Andre Basche", description="Control hOn devices with python", long_description=long_description,