Expose fixed parameter as setting

v0.12 v0.8.4
Andre Basche 1 year ago
parent ad864286fc
commit b011d98e07

@ -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

@ -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,

Loading…
Cancel
Save