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-08-06 15:03:33 -0500
commitb168b4cc7da456f14714d917cdc7a1c6b8df9af5 (patch)
tree9cb4650ceb7add283bbfb5f1d43715e29adc560a /src/services/api/graphql/state.py
parent56467e9967d9bb3c5588bb76493a71868e177a10 (diff)
downloadvyos-1x-b168b4cc7da456f14714d917cdc7a1c6b8df9af5.tar.gz
vyos-1x-b168b4cc7da456f14714d917cdc7a1c6b8df9af5.zip
http-api: T2768: example using GraphQL for high-level config operations
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 = {}