summaryrefslogtreecommitdiff
path: root/src/services/api/graphql/recipes/session.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-12-12 17:30:56 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-12-12 17:34:14 -0600
commit30311db5a00c78872c9ad9b29e7081e0d81a5362 (patch)
tree883b454c0d18d870d804232d3b6d74bb6664b268 /src/services/api/graphql/recipes/session.py
parentc3471fe9d4cf0aab46feae94618925a95bcd5411 (diff)
downloadvyos-1x-30311db5a00c78872c9ad9b29e7081e0d81a5362.tar.gz
vyos-1x-30311db5a00c78872c9ad9b29e7081e0d81a5362.zip
graphql: T3993: distinguish queries and mutations; update README.graphql
Diffstat (limited to 'src/services/api/graphql/recipes/session.py')
-rw-r--r--src/services/api/graphql/recipes/session.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/services/api/graphql/recipes/session.py b/src/services/api/graphql/recipes/session.py
index 5ece78ee6..1f844ff70 100644
--- a/src/services/api/graphql/recipes/session.py
+++ b/src/services/api/graphql/recipes/session.py
@@ -1,3 +1,18 @@
+# Copyright 2021 VyOS maintainers and contributors <maintainers@vyos.io>
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this library. If not, see <http://www.gnu.org/licenses/>.
+
import json
from ariadne import convert_camel_case_to_snake