File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/graphql-python/webob-graphql.svg?branch=master )] ( https://travis-ci.org/graphql-python/webob-graphql ) [ ![ Coverage Status] ( https://coveralls.io/repos/graphql-python/webob-graphql/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/graphql-python/webob-graphql?branch=master ) [ ![ PyPI version] ( https://badge.fury.io/py/webob-graphql.svg )] ( https://badge.fury.io/py/webob-graphql )
4
4
5
- Adds GraphQL support to your WebOb application.
5
+ Adds GraphQL support to your WebOb (Pyramid, Pylons, ...) application.
6
+
7
+ ## Installation
8
+
9
+ For instaling WebOb-GraphQL, just run this command in your shell
10
+
11
+ ``` bash
12
+ pip install " webob-graphql>=1.0.dev"
13
+ ```
14
+
6
15
7
16
## Usage
8
17
@@ -26,7 +35,7 @@ from webob_graphql import serve_graphql_request
26
35
def graphql_view (request ):
27
36
return serve_graphql_request(request, schema)
28
37
29
- # Optional, for adding batch query support (used in Apollo-Client)
38
+ # Optional, for adding batch query support (used in Apollo-Client)
30
39
return serve_graphql_request(request, schema, batch_enabled = True )
31
40
```
32
41
Original file line number Diff line number Diff line change @@ -3,7 +3,16 @@ WebOb-GraphQL
3
3
4
4
|Build Status | |Coverage Status | |PyPI version |
5
5
6
- Adds GraphQL support to your WebOb application.
6
+ Adds GraphQL support to your WebOb (Pyramid, Pylons, ...) application.
7
+
8
+ Installation
9
+ ------------
10
+
11
+ For instaling WebOb-GraphQL, just run this command in your shell
12
+
13
+ .. code :: bash
14
+
15
+ pip install " webob-graphql>=1.0.dev"
7
16
8
17
Usage
9
18
-----
You can’t perform that action at this time.
0 commit comments