From 8cafffff3169018abb09bb1652a63dc4be01b983 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Sun, 16 Oct 2022 15:56:49 -0500 Subject: graphql: T4753: generalize system_status to composite_{query,mutation} --- src/services/api/graphql/utils/composite_function.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/services/api/graphql/utils/composite_function.py (limited to 'src/services/api/graphql/utils/composite_function.py') 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 = {} + -- cgit v1.2.3