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 14:12:47 -0500
commita2b959c50c96698da173b9c4720369a51442cc5c (patch)
tree0056f7fa622c02e836a21879129d139577ca6e76 /src/services/api/graphql/state.py
parentd3d4e3bedcc0b43e16554b1832b43da9d41e651f (diff)
downloadvyos-1x-a2b959c50c96698da173b9c4720369a51442cc5c.tar.gz
vyos-1x-a2b959c50c96698da173b9c4720369a51442cc5c.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 = {}