-
Notifications
You must be signed in to change notification settings - Fork 3
/
graphql.config.yaml
68 lines (68 loc) · 2.33 KB
/
graphql.config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
projects:
default:
schema: schema.graphql
documents: graphql/test/**.graphql
extensions:
turms:
out_dir: tests/apis
generated_name: tests.py
stylers:
- type: turms.stylers.default.DefaultStyler
parsers:
- type: turms.parsers.polyfill.PolyfillParser
python_version: 3.7
plugins:
- type: turms.plugins.enums.EnumsPlugin
- type: turms.plugins.fragments.FragmentsPlugin
- type: turms.plugins.operations.OperationsPlugin
- type: rath.turms.plugins.funcs.RathFuncsPlugin
processors:
- type: turms.processors.black.BlackProcessor
scalar_definitions:
uuid: str
countries:
schema: https://countries.trevorblades.com/
documents: graphql/countries/**.graphql
extensions:
turms:
out_dir: tests/apis/
generated_name: countries.py
stylers:
- type: turms.stylers.default.DefaultStyler
parsers:
- type: turms.parsers.polyfill.PolyfillParser
python_version: 3.7
plugins:
- type: turms.plugins.enums.EnumsPlugin
- type: turms.plugins.fragments.FragmentsPlugin
- type: turms.plugins.operations.OperationsPlugin
- type: rath.turms.plugins.funcs.RathFuncsPlugin
processors:
- type: turms.processors.black.BlackProcessor
scalar_definitions:
uuid: str
nested_inputs:
schema: tests/schemas/nested_inputs.graphql
documents: tests/documents/nested_inputs/*.graphql
extensions:
turms:
out_dir: tests/apis
generated_name: nested_inputs.py
parsers:
- type: turms.parsers.polyfill.PolyfillParser
python_version: 3.7
stylers:
- type: turms.stylers.default.DefaultStyler
plugins:
- type: turms.plugins.enums.EnumsPlugin
- type: turms.plugins.inputs.InputsPlugin
- type: turms.plugins.fragments.FragmentsPlugin
- type: turms.plugins.operations.OperationsPlugin
- type: rath.turms.plugins.funcs.RathFuncsPlugin
processors:
- type: turms.processors.black.BlackProcessor
- type: turms.processors.isort.IsortProcessor
scalar_definitions:
uuid: str
timestamptz: str
Date: str