We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3b533 commit 8d04e53Copy full SHA for 8d04e53
examples/nameko_sqlalchemy/service.py
@@ -0,0 +1,11 @@
1
+#!/usr/bin/env python
2
+from nameko.web.handlers import http
3
+from app import App
4
+
5
6
+class DepartmentService:
7
+ name = 'department'
8
9
+ @http('POST', '/graphql')
10
+ def query(self, request):
11
+ return App().query(request)
0 commit comments