Package Products :: Package ZenModel :: Package browser :: Module Autocompleters :: Class DeviceNames |
[hide private]
[frames] | no frames]

# Class DeviceNames

source code

    Five.browser.BrowserView --+
                               |
                              DeviceNames

Provides device names for autocompleter population.

Adapts DeviceClasses.

Instance Methods | [hide private]
"['id1', 'id2', 'id3']" |
__call__(self, query='', dataRoot='devices') Returns: A JSON representation of a list of ids | source code

Method Details | [hide private]

### __call__(self, query='', dataRoot='devices') (Call operator) | source code
Parameters: `query` (str) - A glob by which to filter device names Returns: "['id1', 'id2', 'id3']" A JSON representation of a list of ids Decorators: `@json` `@formreq`