added a few entries to fake config; added set method to fake client
This commit is contained in:
6
fake.py
6
fake.py
@@ -32,7 +32,9 @@ data = {
|
||||
"x": None,
|
||||
"y": [1,2,3],
|
||||
"aaa": "aaa",
|
||||
"c": "cccccc"
|
||||
"c": "cccccc",
|
||||
"image_background_enable": "passive",
|
||||
"function": "spectrometer.py"
|
||||
},
|
||||
|
||||
"ignored": {}
|
||||
@@ -51,6 +53,8 @@ class PipelineClient:
|
||||
return server_info
|
||||
def get_instance_config(self, name):
|
||||
return data[name]
|
||||
def set_instance_config(self, name, config):
|
||||
pass
|
||||
def get_pipelines(self):
|
||||
return data.keys()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user