mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-01-19 02:50:44 +00:00
Expose fixed parameter as setting
This commit is contained in:
parent
ad864286fc
commit
b011d98e07
0
pyhon/__main__.py
Executable file → Normal file
0
pyhon/__main__.py
Executable file → Normal file
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue