Skip to content

Commit 5f69171

Browse files
committed
ENH: delete commented code
1 parent 8ccc3cd commit 5f69171

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

src/save_and_restore_api/_api_base.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)