summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/generate/composite_function.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-10-23 11:06:03 -0500
committerJohn Estabrook <jestabro@vyos.io>2022-10-25 09:03:06 -0500
commit7038b761302be2ec90338981830b8cd7cf887381 (patch)
tree1eb7c93dba0694b8c6dbce1ec522a2a61b06a439 /src/services/api/graphql/generate/composite_function.py
parent093ac258c11894b07afd9e85a61778d23e356718 (diff)
downloadvyos-1x-7038b761302be2ec90338981830b8cd7cf887381.tar.gz
vyos-1x-7038b761302be2ec90338981830b8cd7cf887381.zip
graphql: T4574: reorganize directory structure for clarity
Diffstat (limited to 'src/services/api/graphql/generate/composite_function.py')
-rw-r--r--src/services/api/graphql/generate/composite_function.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/services/api/graphql/generate/composite_function.py b/src/services/api/graphql/generate/composite_function.py
new file mode 100644
index 000000000..bc9d80fbb
--- /dev/null
+++ b/src/services/api/graphql/generate/composite_function.py
@@ -0,0 +1,11 @@
+# typing information for composite functions: those that invoke several
+# elementary requests, and return the result as a single dict
+import typing
+
+def system_status():
+ pass
+
+queries = {'system_status': system_status}
+
+mutations = {}
+