@@ -442,35 +442,3 @@ def _prepare_structure_path_nodes(self, *, path):
442442 method , url = "GET" , "/path"
443443 params = {"path" : path }
444444 return method , url , params
445-
446- # =============================================================================================
447-
448- # def create_config(self, parent_node_uid, name, pv_list):
449- # config_dict = {
450- # "configurationNode": {
451- # "name": name,
452- # "nodeType": "CONFIGURATION",
453- # "userName": self._username,
454- # },
455- # "configurationData": {
456- # "pvList": pv_list,
457- # },
458- # }
459- # print(f"config_dict=\n{pprint.pformat(config_dict)}")
460- # return self.send_request("PUT", f"/config?parentNodeId={parent_node_uid}", body_json=config_dict)
461-
462- # def update_config(self, node_uid, name, pv_list):
463- # config_dict = {
464- # "configurationNode": {
465- # "name": name,
466- # "nodeType": "CONFIGURATION",
467- # "userName": self._username,
468- # "uniqueId": node_uid,
469- # },
470- # "configurationData": {
471- # "pvList": pv_list,
472- # },
473- # }
474- # print(f"config_dict=\n{pprint.pformat(config_dict)}")
475- # # return self.send_request("POST", f"/config/{node_uid}", body_json=config_dict)
476- # return self.send_request("POST", "/config", body_json=config_dict)
0 commit comments