Commit 8508b696 authored by Christophe Geuzaine's avatar Christophe Geuzaine

Merge branch 'getNumberRange' into 'master'

Get number range

See merge request !210
parents 48e14e10 001648ba
Pipeline #2823 passed with stage
in 57 minutes and 19 seconds
......@@ -299,6 +299,11 @@ class client :
self._getParameter(param, warn_if_not_found)
return param.choices
def getNumberRange(self, name, warn_if_not_found=True):
param = _parameter('number', name=name)
self._getParameter(param, warn_if_not_found)
return [param.values[0] if len(param.values) else 0, param.min, param.max]
def show(self, name) :
if not self.socket or not name:
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment