kuvert 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kuvert/__init__.py +20 -0
- kuvert/api/project.json +120 -0
- kuvert/api/schema.graphql +1835 -0
- kuvert/api/schema.py +7170 -0
- kuvert/arkitekt.py +124 -0
- kuvert/kuvert.py +112 -0
- kuvert/py.typed +0 -0
- kuvert/rath.py +41 -0
- kuvert-1.0.0.dist-info/METADATA +113 -0
- kuvert-1.0.0.dist-info/RECORD +11 -0
- kuvert-1.0.0.dist-info/WHEEL +4 -0
kuvert/__init__.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from .kuvert import Kuvert
|
|
2
|
+
|
|
3
|
+
try:
|
|
4
|
+
from .arkitekt import kuvert as kuvert_service
|
|
5
|
+
except ImportError as e:
|
|
6
|
+
# Only "rekuest is not installed" may pass silently. Anything else that fails
|
|
7
|
+
# to import here (a renamed query, a rekuest too old for what the module
|
|
8
|
+
# needs) is a bug, and hiding it makes this package's service vanish
|
|
9
|
+
# without a word. Whether it is installed is asked the plain way.
|
|
10
|
+
try:
|
|
11
|
+
import rekuest # noqa: F401 -- presence is the question
|
|
12
|
+
except ImportError:
|
|
13
|
+
pass
|
|
14
|
+
else:
|
|
15
|
+
raise e
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"Kuvert",
|
|
19
|
+
"kuvert_service",
|
|
20
|
+
]
|
kuvert/api/project.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "schema.graphql",
|
|
3
|
+
"documents": "graphql/**/**.graphql",
|
|
4
|
+
"extensions": {
|
|
5
|
+
"turms": {
|
|
6
|
+
"domain": null,
|
|
7
|
+
"out_dir": "kuvert/api",
|
|
8
|
+
"dump_configuration": true,
|
|
9
|
+
"configuration_name": "project.json",
|
|
10
|
+
"dump_schema": true,
|
|
11
|
+
"schema_name": "schema.graphql",
|
|
12
|
+
"generated_name": "schema.py",
|
|
13
|
+
"documents": "graphql/**/**.graphql",
|
|
14
|
+
"verbose": false,
|
|
15
|
+
"exit_on_error": true,
|
|
16
|
+
"allow_introspection": true,
|
|
17
|
+
"object_bases": [
|
|
18
|
+
"pydantic.BaseModel"
|
|
19
|
+
],
|
|
20
|
+
"interface_bases": null,
|
|
21
|
+
"always_resolve_interfaces": true,
|
|
22
|
+
"exclude_typenames": true,
|
|
23
|
+
"scalar_definitions": {
|
|
24
|
+
"uuid": "str",
|
|
25
|
+
"Callback": "str",
|
|
26
|
+
"Any": "typing.Any",
|
|
27
|
+
"JSON": "typing.Any",
|
|
28
|
+
"ID": "rath.scalars.ID",
|
|
29
|
+
"_Any": "typing.Any",
|
|
30
|
+
"ByteCount": "int"
|
|
31
|
+
},
|
|
32
|
+
"coercible_scalars": {},
|
|
33
|
+
"coercible_inputs": {},
|
|
34
|
+
"graphql_default_class": null,
|
|
35
|
+
"deprecated_class": null,
|
|
36
|
+
"document_field_metadata": true,
|
|
37
|
+
"unset_type_class": null,
|
|
38
|
+
"unset_instance": null,
|
|
39
|
+
"freeze": {
|
|
40
|
+
"enabled": true,
|
|
41
|
+
"types": [
|
|
42
|
+
"input",
|
|
43
|
+
"fragment",
|
|
44
|
+
"object"
|
|
45
|
+
],
|
|
46
|
+
"exclude": null,
|
|
47
|
+
"include": null,
|
|
48
|
+
"convert_list_to_tuple": true
|
|
49
|
+
},
|
|
50
|
+
"create_catchall": true,
|
|
51
|
+
"options": {
|
|
52
|
+
"enabled": true,
|
|
53
|
+
"extra": "forbid",
|
|
54
|
+
"populate_by_name": true,
|
|
55
|
+
"from_attributes": null,
|
|
56
|
+
"use_enum_values": true,
|
|
57
|
+
"validate_assignment": null,
|
|
58
|
+
"alias_mode": "split",
|
|
59
|
+
"types": [
|
|
60
|
+
"input"
|
|
61
|
+
],
|
|
62
|
+
"exclude": null,
|
|
63
|
+
"include": null
|
|
64
|
+
},
|
|
65
|
+
"skip_forwards": false,
|
|
66
|
+
"min_python_version": "3.10",
|
|
67
|
+
"type_annotation_style": "auto",
|
|
68
|
+
"external_modules": [],
|
|
69
|
+
"additional_bases": {},
|
|
70
|
+
"additional_config": {},
|
|
71
|
+
"force_plugin_order": true,
|
|
72
|
+
"omitted_document_rules": [],
|
|
73
|
+
"parsers": [],
|
|
74
|
+
"plugins": [
|
|
75
|
+
{
|
|
76
|
+
"type": "turms.plugins.enums.EnumsPlugin"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"type": "turms.plugins.inputs.InputsPlugin"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "turms.plugins.fragments.FragmentsPlugin"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "turms.plugins.operations.OperationsPlugin"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "turms.plugins.client.ClientPlugin",
|
|
89
|
+
"client_class": "KuvertApi",
|
|
90
|
+
"global_kwargs": [
|
|
91
|
+
{
|
|
92
|
+
"key": "task",
|
|
93
|
+
"type": "rath.task.TaskLike",
|
|
94
|
+
"description": "The task this call is made for; the ambient one by default."
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"reserved_from": [
|
|
98
|
+
"kuvert.kuvert.Kuvert"
|
|
99
|
+
],
|
|
100
|
+
"coercible_scalars": {
|
|
101
|
+
"ID": "rath.scalars.IDCoercible"
|
|
102
|
+
},
|
|
103
|
+
"expand_input_types": [
|
|
104
|
+
"input"
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"processors": [],
|
|
109
|
+
"stylers": [
|
|
110
|
+
{
|
|
111
|
+
"type": "turms.stylers.default.DefaultStyler"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"type": "turms.stylers.appender.AppenderStyler",
|
|
115
|
+
"append_fragment": ""
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|