summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/state.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-08-05 11:24:47 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-11-07 15:21:50 -0600
commitf87f6c249535453b8bd3718dc7cdc84dcbbdbe13 (patch)
tree4a619ec7284294dfa8e70c608e423cb1b0674f45 /src/services/api/graphql/state.py
parent790131c0da5f2cf7274e98d20839b64e94423347 (diff)
downloadvyos-1x-f87f6c249535453b8bd3718dc7cdc84dcbbdbe13.tar.gz
vyos-1x-f87f6c249535453b8bd3718dc7cdc84dcbbdbe13.zip
http-api: T2768: example using GraphQL for high-level config operations
(cherry picked from commit b168b4cc7da456f14714d917cdc7a1c6b8df9af5)
Diffstat (limited to 'src/services/api/graphql/state.py')
-rw-r--r--src/services/api/graphql/state.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/services/api/graphql/state.py b/src/services/api/graphql/state.py
new file mode 100644
index 000000000..63db9f4ef
--- /dev/null
+++ b/src/services/api/graphql/state.py
@@ -0,0 +1,4 @@
+
+def init():
+ global settings
+ settings = {}