diff options
author | John Estabrook <jestabro@vyos.io> | 2022-10-16 15:56:49 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-10-16 15:56:49 -0500 |
commit | 8cafffff3169018abb09bb1652a63dc4be01b983 (patch) | |
tree | 9bdbbc96fde3f09d277bb15dad892e26106efffe /src/services/api/graphql/utils/composite_function.py | |
parent | 813236e6ca265f15fe81b09a0a61feb3a3d0193b (diff) | |
download | vyos-1x-8cafffff3169018abb09bb1652a63dc4be01b983.tar.gz vyos-1x-8cafffff3169018abb09bb1652a63dc4be01b983.zip |
graphql: T4753: generalize system_status to composite_{query,mutation}
Diffstat (limited to 'src/services/api/graphql/utils/composite_function.py')
-rw-r--r-- | src/services/api/graphql/utils/composite_function.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/services/api/graphql/utils/composite_function.py b/src/services/api/graphql/utils/composite_function.py new file mode 100644 index 000000000..bc9d80fbb --- /dev/null +++ b/src/services/api/graphql/utils/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 = {} + |