summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/session
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-10-06 15:37:19 -0500
committerJohn Estabrook <jestabro@vyos.io>2022-10-07 15:00:41 -0500
commit5f81ced8d57d3e315252abc58e777ff946ccf494 (patch)
tree39e3cd828df579fbe11e756b824b3c0456437420 /src/services/api/graphql/session
parentbb4901773df9682b67081dda5baf0cb39c742d1e (diff)
downloadvyos-1x-5f81ced8d57d3e315252abc58e777ff946ccf494.tar.gz
vyos-1x-5f81ced8d57d3e315252abc58e777ff946ccf494.zip
graphql: T4738: generate schema defs for configsession methods
Diffstat (limited to 'src/services/api/graphql/session')
-rw-r--r--src/services/api/graphql/session/session.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/services/api/graphql/session/session.py b/src/services/api/graphql/session/session.py
index f7510841e..61dd3ed1b 100644
--- a/src/services/api/graphql/session/session.py
+++ b/src/services/api/graphql/session/session.py
@@ -94,7 +94,7 @@ class Session:
return out
- def save(self):
+ def save_config_file(self):
session = self._session
data = self._data
if 'file_name' not in data or not data['file_name']:
@@ -105,7 +105,7 @@ class Session:
except Exception as error:
raise error
- def load(self):
+ def load_config_file(self):
session = self._session
data = self._data
@@ -127,7 +127,7 @@ class Session:
return out
- def add(self):
+ def add_system_image(self):
session = self._session
data = self._data
@@ -138,7 +138,7 @@ class Session:
return res
- def delete(self):
+ def delete_system_image(self):
session = self._session
data = self._data