1 from unfold.plugin import Plugin
3 class TestbedsPlugin(Plugin):
5 def __init__ (self, query=None, **settings):
6 Plugin.__init__ (self, **settings)
8 # Until we have a proper way to access queries in Python
11 def template_file (self):
12 return "testbeds.html"
14 def requirements (self):
25 def json_settings_list (self):
26 # query_uuid will pass self.query results to the javascript
27 # and will be available as "record" in :
28 # on_new_record: function(record)
29 return ['plugin_uuid', 'domid', 'query_uuid']
31 def export_json_settings (self):