bramble-graphql 0.3.0__tar.gz → 0.3.2__tar.gz
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.
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/Cargo.lock +152 -101
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/Cargo.toml +1 -1
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/PKG-INFO +2 -1
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_execution.py +48 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/Cargo.toml +2 -2
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/lowering.rs +2 -2
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/operation_directive_info.rs +1 -1
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/query_document.rs +5 -5
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/schema_directive_info.rs +2 -2
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/type_info.rs +4 -4
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/union_info.rs +1 -1
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/pyproject.toml +2 -1
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/LICENSE-APACHE +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/LICENSE-MIT +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/README.md +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_dependency.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_enum.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_error.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_extension.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_interface.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_introspection.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_lazy.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_maybe.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_permission.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_private.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_resolver.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_scalar.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_schema.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_type.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_union.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/_unset.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/adapters/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/adapters/asgi/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/adapters/django/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/adapters/django/channels.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/adapters/django/views.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/adapters/fastapi/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/adapters/flask/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/adapters/starlette/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/cli/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/cli/app.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/cli/commands/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/cli/commands/codegen.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/cli/commands/dev.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/cli/constants.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/cli/dev_server.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/cli/utils.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/codegen/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/codegen/plugins.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/codegen/query_codegen.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/codegen/types.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/directive.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/federation/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/federation/directives.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/federation/scalars.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/federation/schema.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/federation/type.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/async_base_view.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/base.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/exceptions.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/ides.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/multipart.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/parse_content_type.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/static/graphiql.html +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/http/types.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/schema/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/schema/config.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/schema_directive.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/subscriptions/__init__.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/subscriptions/graphql_transport_ws.py +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/Cargo.toml +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/LICENSE-APACHE +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/LICENSE-MIT +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/README.md +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/benches/graphql.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/bramble_core.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/document.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/error.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/lowering.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/naming.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/parser.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/persisted_query.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/schema.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/sdl.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-core/src/validation.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/LICENSE-APACHE +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/LICENSE-MIT +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/README.md +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/bramble_py.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/compiled_schema.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/error.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/persisted_query.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/resolver_binding.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/sdl.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/typing_utils.rs +0 -0
- {bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/validation.rs +0 -0
|
@@ -32,6 +32,15 @@ version = "1.0.14"
|
|
|
32
32
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
33
|
checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000"
|
|
34
34
|
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "ar_archive_writer"
|
|
37
|
+
version = "0.5.5"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "523e5e187fff36fcb8d1d19ccf0ca4ca43ec3d158316057f66dc6f72716bc5ec"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"object",
|
|
42
|
+
]
|
|
43
|
+
|
|
35
44
|
[[package]]
|
|
36
45
|
name = "async-graphql-parser"
|
|
37
46
|
version = "7.2.1"
|
|
@@ -64,9 +73,9 @@ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
|
|
|
64
73
|
|
|
65
74
|
[[package]]
|
|
66
75
|
name = "bitflags"
|
|
67
|
-
version = "2.13.
|
|
76
|
+
version = "2.13.2"
|
|
68
77
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
69
|
-
checksum = "
|
|
78
|
+
checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
|
|
70
79
|
|
|
71
80
|
[[package]]
|
|
72
81
|
name = "block-buffer"
|
|
@@ -79,7 +88,7 @@ dependencies = [
|
|
|
79
88
|
|
|
80
89
|
[[package]]
|
|
81
90
|
name = "bramble-core"
|
|
82
|
-
version = "0.3.
|
|
91
|
+
version = "0.3.2"
|
|
83
92
|
dependencies = [
|
|
84
93
|
"async-graphql-parser",
|
|
85
94
|
"async-graphql-value",
|
|
@@ -93,7 +102,7 @@ dependencies = [
|
|
|
93
102
|
|
|
94
103
|
[[package]]
|
|
95
104
|
name = "bramble-py"
|
|
96
|
-
version = "0.3.
|
|
105
|
+
version = "0.3.2"
|
|
97
106
|
dependencies = [
|
|
98
107
|
"async-graphql-parser",
|
|
99
108
|
"async-graphql-value",
|
|
@@ -104,15 +113,15 @@ dependencies = [
|
|
|
104
113
|
|
|
105
114
|
[[package]]
|
|
106
115
|
name = "bumpalo"
|
|
107
|
-
version = "3.20.
|
|
116
|
+
version = "3.20.4"
|
|
108
117
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
109
|
-
checksum = "
|
|
118
|
+
checksum = "87a0cf66fd1eb2fb7b822cb78370d82303750809bc6ba855f3f58e517d3238db"
|
|
110
119
|
|
|
111
120
|
[[package]]
|
|
112
121
|
name = "bytes"
|
|
113
|
-
version = "1.12.
|
|
122
|
+
version = "1.12.2"
|
|
114
123
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
115
|
-
checksum = "
|
|
124
|
+
checksum = "776dfebd015e2d8732c684a2c71003674ccb49457b539b9e82151ba38e96dd7c"
|
|
116
125
|
dependencies = [
|
|
117
126
|
"serde",
|
|
118
127
|
]
|
|
@@ -125,9 +134,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
|
|
125
134
|
|
|
126
135
|
[[package]]
|
|
127
136
|
name = "cc"
|
|
128
|
-
version = "1.
|
|
137
|
+
version = "1.11.3"
|
|
129
138
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
-
checksum = "
|
|
139
|
+
checksum = "02f0e023adb368345ce0ca6cdfc0f24a06554468d0e8503e14a0841de79bfa69"
|
|
131
140
|
dependencies = [
|
|
132
141
|
"find-msvc-tools",
|
|
133
142
|
"shlex",
|
|
@@ -135,9 +144,9 @@ dependencies = [
|
|
|
135
144
|
|
|
136
145
|
[[package]]
|
|
137
146
|
name = "cfg-if"
|
|
138
|
-
version = "1.0.
|
|
147
|
+
version = "1.0.5"
|
|
139
148
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
140
|
-
checksum = "
|
|
149
|
+
checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
|
|
141
150
|
|
|
142
151
|
[[package]]
|
|
143
152
|
name = "ciborium"
|
|
@@ -168,18 +177,18 @@ dependencies = [
|
|
|
168
177
|
|
|
169
178
|
[[package]]
|
|
170
179
|
name = "clap"
|
|
171
|
-
version = "4.6.
|
|
180
|
+
version = "4.6.9"
|
|
172
181
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
-
checksum = "
|
|
182
|
+
checksum = "844c5c0b65be192cb68d570cca1b21a6444431d24e39c084dc0336177015337c"
|
|
174
183
|
dependencies = [
|
|
175
184
|
"clap_builder",
|
|
176
185
|
]
|
|
177
186
|
|
|
178
187
|
[[package]]
|
|
179
188
|
name = "clap_builder"
|
|
180
|
-
version = "4.6.
|
|
189
|
+
version = "4.6.7"
|
|
181
190
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
182
|
-
checksum = "
|
|
191
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
183
192
|
dependencies = [
|
|
184
193
|
"anstyle",
|
|
185
194
|
"clap_lex",
|
|
@@ -187,15 +196,15 @@ dependencies = [
|
|
|
187
196
|
|
|
188
197
|
[[package]]
|
|
189
198
|
name = "clap_lex"
|
|
190
|
-
version = "1.1.
|
|
199
|
+
version = "1.1.2"
|
|
191
200
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
-
checksum = "
|
|
201
|
+
checksum = "e0921b3876b3a1df8a1c9f912e7f94342458022c2e84288015893d83c4d62a79"
|
|
193
202
|
|
|
194
203
|
[[package]]
|
|
195
204
|
name = "console"
|
|
196
|
-
version = "0.16.
|
|
205
|
+
version = "0.16.6"
|
|
197
206
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
-
checksum = "
|
|
207
|
+
checksum = "e96a4956774c13c126a8b5af4daa79384f4d826534c95a02d76afb39e2ab64e3"
|
|
199
208
|
dependencies = [
|
|
200
209
|
"encode_unicode",
|
|
201
210
|
"libc",
|
|
@@ -204,9 +213,9 @@ dependencies = [
|
|
|
204
213
|
|
|
205
214
|
[[package]]
|
|
206
215
|
name = "const-oid"
|
|
207
|
-
version = "0.10.
|
|
216
|
+
version = "0.10.3"
|
|
208
217
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
209
|
-
checksum = "
|
|
218
|
+
checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a"
|
|
210
219
|
|
|
211
220
|
[[package]]
|
|
212
221
|
name = "cpufeatures"
|
|
@@ -314,9 +323,9 @@ dependencies = [
|
|
|
314
323
|
|
|
315
324
|
[[package]]
|
|
316
325
|
name = "either"
|
|
317
|
-
version = "1.
|
|
326
|
+
version = "1.19.0"
|
|
318
327
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
319
|
-
checksum = "
|
|
328
|
+
checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
|
|
320
329
|
|
|
321
330
|
[[package]]
|
|
322
331
|
name = "encode_unicode"
|
|
@@ -326,15 +335,15 @@ checksum = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
|
|
|
326
335
|
|
|
327
336
|
[[package]]
|
|
328
337
|
name = "equivalent"
|
|
329
|
-
version = "1.0.
|
|
338
|
+
version = "1.0.3"
|
|
330
339
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
-
checksum = "
|
|
340
|
+
checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826"
|
|
332
341
|
|
|
333
342
|
[[package]]
|
|
334
343
|
name = "errno"
|
|
335
|
-
version = "0.3.
|
|
344
|
+
version = "0.3.15"
|
|
336
345
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
-
checksum = "
|
|
346
|
+
checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776"
|
|
338
347
|
dependencies = [
|
|
339
348
|
"libc",
|
|
340
349
|
"windows-sys",
|
|
@@ -348,9 +357,9 @@ checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
|
|
|
348
357
|
|
|
349
358
|
[[package]]
|
|
350
359
|
name = "find-msvc-tools"
|
|
351
|
-
version = "0.1.
|
|
360
|
+
version = "0.1.15"
|
|
352
361
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
353
|
-
checksum = "
|
|
362
|
+
checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48"
|
|
354
363
|
|
|
355
364
|
[[package]]
|
|
356
365
|
name = "futures-core"
|
|
@@ -400,9 +409,9 @@ dependencies = [
|
|
|
400
409
|
|
|
401
410
|
[[package]]
|
|
402
411
|
name = "hashbrown"
|
|
403
|
-
version = "0.17.
|
|
412
|
+
version = "0.17.2"
|
|
404
413
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
405
|
-
checksum = "
|
|
414
|
+
checksum = "735eaa21a6a5ffb2e84362faaeb90c05ba8e19797ca30428478cb6ea3a4921bc"
|
|
406
415
|
|
|
407
416
|
[[package]]
|
|
408
417
|
name = "heck"
|
|
@@ -412,9 +421,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
412
421
|
|
|
413
422
|
[[package]]
|
|
414
423
|
name = "hybrid-array"
|
|
415
|
-
version = "0.4.
|
|
424
|
+
version = "0.4.15"
|
|
416
425
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
417
|
-
checksum = "
|
|
426
|
+
checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
|
|
418
427
|
dependencies = [
|
|
419
428
|
"typenum",
|
|
420
429
|
]
|
|
@@ -433,9 +442,9 @@ dependencies = [
|
|
|
433
442
|
|
|
434
443
|
[[package]]
|
|
435
444
|
name = "insta"
|
|
436
|
-
version = "1.
|
|
445
|
+
version = "1.49.0"
|
|
437
446
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
438
|
-
checksum = "
|
|
447
|
+
checksum = "b67d3d2e287e4b86c10b3f3b641033d1f89b74bdb39d05f34952e2b9a6fe21cd"
|
|
439
448
|
dependencies = [
|
|
440
449
|
"console",
|
|
441
450
|
"once_cell",
|
|
@@ -455,15 +464,15 @@ dependencies = [
|
|
|
455
464
|
|
|
456
465
|
[[package]]
|
|
457
466
|
name = "itoa"
|
|
458
|
-
version = "1.0.
|
|
467
|
+
version = "1.0.19"
|
|
459
468
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
460
|
-
checksum = "
|
|
469
|
+
checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
|
|
461
470
|
|
|
462
471
|
[[package]]
|
|
463
472
|
name = "js-sys"
|
|
464
|
-
version = "0.3.
|
|
473
|
+
version = "0.3.107"
|
|
465
474
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
466
|
-
checksum = "
|
|
475
|
+
checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a"
|
|
467
476
|
dependencies = [
|
|
468
477
|
"cfg-if",
|
|
469
478
|
"futures-util",
|
|
@@ -472,9 +481,9 @@ dependencies = [
|
|
|
472
481
|
|
|
473
482
|
[[package]]
|
|
474
483
|
name = "libc"
|
|
475
|
-
version = "0.2.
|
|
484
|
+
version = "0.2.191"
|
|
476
485
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
477
|
-
checksum = "
|
|
486
|
+
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
|
|
478
487
|
|
|
479
488
|
[[package]]
|
|
480
489
|
name = "linux-raw-sys"
|
|
@@ -523,6 +532,15 @@ dependencies = [
|
|
|
523
532
|
"autocfg",
|
|
524
533
|
]
|
|
525
534
|
|
|
535
|
+
[[package]]
|
|
536
|
+
name = "object"
|
|
537
|
+
version = "0.39.1"
|
|
538
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
539
|
+
checksum = "2e5a6c098c7a3b6547378093f5cc30bc54fd361ce711e05293a5cc589562739b"
|
|
540
|
+
dependencies = [
|
|
541
|
+
"memchr",
|
|
542
|
+
]
|
|
543
|
+
|
|
526
544
|
[[package]]
|
|
527
545
|
name = "once_cell"
|
|
528
546
|
version = "1.21.4"
|
|
@@ -570,19 +588,30 @@ dependencies = [
|
|
|
570
588
|
|
|
571
589
|
[[package]]
|
|
572
590
|
name = "pest"
|
|
573
|
-
version = "2.9.
|
|
591
|
+
version = "2.9.6"
|
|
574
592
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
575
|
-
checksum = "
|
|
593
|
+
checksum = "5ec53fd1d256900a9a771bf2720d42cef6f8bc91b4e25065fbd291e3e7222576"
|
|
576
594
|
dependencies = [
|
|
577
595
|
"memchr",
|
|
596
|
+
"pest_stack_guard",
|
|
578
597
|
"ucd-trie",
|
|
579
598
|
]
|
|
580
599
|
|
|
600
|
+
[[package]]
|
|
601
|
+
name = "pest_stack_guard"
|
|
602
|
+
version = "1.0.1"
|
|
603
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
604
|
+
checksum = "9ac6154fd4418b8f0b82532c59c26f303f9ca59a64c883e8ce3971fd82733439"
|
|
605
|
+
dependencies = [
|
|
606
|
+
"psm",
|
|
607
|
+
"stacker",
|
|
608
|
+
]
|
|
609
|
+
|
|
581
610
|
[[package]]
|
|
582
611
|
name = "pin-project-lite"
|
|
583
|
-
version = "0.2.
|
|
612
|
+
version = "0.2.18"
|
|
584
613
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
585
|
-
checksum = "
|
|
614
|
+
checksum = "c938015719552d665fd0553b90d96cd7ff58e83e4c061ca99e6bb78865a72752"
|
|
586
615
|
|
|
587
616
|
[[package]]
|
|
588
617
|
name = "plotters"
|
|
@@ -627,11 +656,21 @@ dependencies = [
|
|
|
627
656
|
"unicode-ident",
|
|
628
657
|
]
|
|
629
658
|
|
|
659
|
+
[[package]]
|
|
660
|
+
name = "psm"
|
|
661
|
+
version = "0.1.32"
|
|
662
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
663
|
+
checksum = "4dcd034599e63b970727f70d79e02d62390a4a84f7c6b827c27c46d5ac3fa622"
|
|
664
|
+
dependencies = [
|
|
665
|
+
"ar_archive_writer",
|
|
666
|
+
"cc",
|
|
667
|
+
]
|
|
668
|
+
|
|
630
669
|
[[package]]
|
|
631
670
|
name = "pyo3"
|
|
632
|
-
version = "0.
|
|
671
|
+
version = "0.30.1"
|
|
633
672
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
634
|
-
checksum = "
|
|
673
|
+
checksum = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4"
|
|
635
674
|
dependencies = [
|
|
636
675
|
"libc",
|
|
637
676
|
"once_cell",
|
|
@@ -643,18 +682,18 @@ dependencies = [
|
|
|
643
682
|
|
|
644
683
|
[[package]]
|
|
645
684
|
name = "pyo3-build-config"
|
|
646
|
-
version = "0.
|
|
685
|
+
version = "0.30.1"
|
|
647
686
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
648
|
-
checksum = "
|
|
687
|
+
checksum = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700"
|
|
649
688
|
dependencies = [
|
|
650
689
|
"target-lexicon",
|
|
651
690
|
]
|
|
652
691
|
|
|
653
692
|
[[package]]
|
|
654
693
|
name = "pyo3-ffi"
|
|
655
|
-
version = "0.
|
|
694
|
+
version = "0.30.1"
|
|
656
695
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
657
|
-
checksum = "
|
|
696
|
+
checksum = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4"
|
|
658
697
|
dependencies = [
|
|
659
698
|
"libc",
|
|
660
699
|
"pyo3-build-config",
|
|
@@ -662,26 +701,26 @@ dependencies = [
|
|
|
662
701
|
|
|
663
702
|
[[package]]
|
|
664
703
|
name = "pyo3-macros"
|
|
665
|
-
version = "0.
|
|
704
|
+
version = "0.30.1"
|
|
666
705
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
667
|
-
checksum = "
|
|
706
|
+
checksum = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60"
|
|
668
707
|
dependencies = [
|
|
669
708
|
"proc-macro2",
|
|
670
709
|
"pyo3-macros-backend",
|
|
671
710
|
"quote",
|
|
672
|
-
"syn
|
|
711
|
+
"syn 3.0.10",
|
|
673
712
|
]
|
|
674
713
|
|
|
675
714
|
[[package]]
|
|
676
715
|
name = "pyo3-macros-backend"
|
|
677
|
-
version = "0.
|
|
716
|
+
version = "0.30.1"
|
|
678
717
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
679
|
-
checksum = "
|
|
718
|
+
checksum = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b"
|
|
680
719
|
dependencies = [
|
|
681
720
|
"heck",
|
|
682
721
|
"proc-macro2",
|
|
683
722
|
"quote",
|
|
684
|
-
"syn
|
|
723
|
+
"syn 3.0.10",
|
|
685
724
|
]
|
|
686
725
|
|
|
687
726
|
[[package]]
|
|
@@ -730,9 +769,9 @@ dependencies = [
|
|
|
730
769
|
|
|
731
770
|
[[package]]
|
|
732
771
|
name = "regex"
|
|
733
|
-
version = "1.13.
|
|
772
|
+
version = "1.13.2"
|
|
734
773
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
735
|
-
checksum = "
|
|
774
|
+
checksum = "9807af0e638c12e753aa1b4e601791bf2a8f71274023c8bbeec12fc149950857"
|
|
736
775
|
dependencies = [
|
|
737
776
|
"aho-corasick",
|
|
738
777
|
"memchr",
|
|
@@ -742,9 +781,9 @@ dependencies = [
|
|
|
742
781
|
|
|
743
782
|
[[package]]
|
|
744
783
|
name = "regex-automata"
|
|
745
|
-
version = "0.4.
|
|
784
|
+
version = "0.4.19"
|
|
746
785
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
747
|
-
checksum = "
|
|
786
|
+
checksum = "41d60ef07df457506a0a1a2073112eb4aae5733dbd2813c3da77d1b0fd441158"
|
|
748
787
|
dependencies = [
|
|
749
788
|
"aho-corasick",
|
|
750
789
|
"memchr",
|
|
@@ -753,15 +792,15 @@ dependencies = [
|
|
|
753
792
|
|
|
754
793
|
[[package]]
|
|
755
794
|
name = "regex-syntax"
|
|
756
|
-
version = "0.8.
|
|
795
|
+
version = "0.8.12"
|
|
757
796
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
758
|
-
checksum = "
|
|
797
|
+
checksum = "d902046e6a28a1e4c3cab97258a0ce11e994903f01c2d97a9447a0b3df85f4f6"
|
|
759
798
|
|
|
760
799
|
[[package]]
|
|
761
800
|
name = "rustix"
|
|
762
|
-
version = "1.1.
|
|
801
|
+
version = "1.1.6"
|
|
763
802
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
764
|
-
checksum = "
|
|
803
|
+
checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa"
|
|
765
804
|
dependencies = [
|
|
766
805
|
"bitflags",
|
|
767
806
|
"errno",
|
|
@@ -818,14 +857,14 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
|
818
857
|
dependencies = [
|
|
819
858
|
"proc-macro2",
|
|
820
859
|
"quote",
|
|
821
|
-
"syn 3.0.
|
|
860
|
+
"syn 3.0.10",
|
|
822
861
|
]
|
|
823
862
|
|
|
824
863
|
[[package]]
|
|
825
864
|
name = "serde_json"
|
|
826
|
-
version = "1.0.
|
|
865
|
+
version = "1.0.154"
|
|
827
866
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
828
|
-
checksum = "
|
|
867
|
+
checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
|
|
829
868
|
dependencies = [
|
|
830
869
|
"itoa",
|
|
831
870
|
"memchr",
|
|
@@ -836,9 +875,9 @@ dependencies = [
|
|
|
836
875
|
|
|
837
876
|
[[package]]
|
|
838
877
|
name = "sha2"
|
|
839
|
-
version = "0.11.
|
|
878
|
+
version = "0.11.1"
|
|
840
879
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
841
|
-
checksum = "
|
|
880
|
+
checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19"
|
|
842
881
|
dependencies = [
|
|
843
882
|
"cfg-if",
|
|
844
883
|
"cpufeatures",
|
|
@@ -865,9 +904,22 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
|
865
904
|
|
|
866
905
|
[[package]]
|
|
867
906
|
name = "smallvec"
|
|
868
|
-
version = "1.16.
|
|
907
|
+
version = "1.16.6"
|
|
869
908
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
870
|
-
checksum = "
|
|
909
|
+
checksum = "3244542535d5de959d90ec55d1b5ff0fd2bb7b1310223907d5f11932847f7b59"
|
|
910
|
+
|
|
911
|
+
[[package]]
|
|
912
|
+
name = "stacker"
|
|
913
|
+
version = "0.1.25"
|
|
914
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
915
|
+
checksum = "707f49d46706bacf8a2b00d51dace3f9de527c13eec3778f570c411f89e69967"
|
|
916
|
+
dependencies = [
|
|
917
|
+
"cc",
|
|
918
|
+
"cfg-if",
|
|
919
|
+
"libc",
|
|
920
|
+
"psm",
|
|
921
|
+
"windows-sys",
|
|
922
|
+
]
|
|
871
923
|
|
|
872
924
|
[[package]]
|
|
873
925
|
name = "syn"
|
|
@@ -882,9 +934,9 @@ dependencies = [
|
|
|
882
934
|
|
|
883
935
|
[[package]]
|
|
884
936
|
name = "syn"
|
|
885
|
-
version = "3.0.
|
|
937
|
+
version = "3.0.10"
|
|
886
938
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
887
|
-
checksum = "
|
|
939
|
+
checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79"
|
|
888
940
|
dependencies = [
|
|
889
941
|
"proc-macro2",
|
|
890
942
|
"quote",
|
|
@@ -899,9 +951,9 @@ checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"
|
|
|
899
951
|
|
|
900
952
|
[[package]]
|
|
901
953
|
name = "target-lexicon"
|
|
902
|
-
version = "0.13.
|
|
954
|
+
version = "0.13.6"
|
|
903
955
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
904
|
-
checksum = "
|
|
956
|
+
checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
|
|
905
957
|
|
|
906
958
|
[[package]]
|
|
907
959
|
name = "tempfile"
|
|
@@ -934,21 +986,21 @@ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
|
|
|
934
986
|
|
|
935
987
|
[[package]]
|
|
936
988
|
name = "ucd-trie"
|
|
937
|
-
version = "0.1.
|
|
989
|
+
version = "0.1.8"
|
|
938
990
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
939
|
-
checksum = "
|
|
991
|
+
checksum = "8f20bdbfc9915686faa18fb5bbe8b4552778505defbf9f12289beefbc44092a6"
|
|
940
992
|
|
|
941
993
|
[[package]]
|
|
942
994
|
name = "unicode-ident"
|
|
943
|
-
version = "1.0.
|
|
995
|
+
version = "1.0.27"
|
|
944
996
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
945
|
-
checksum = "
|
|
997
|
+
checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
|
|
946
998
|
|
|
947
999
|
[[package]]
|
|
948
1000
|
name = "uuid"
|
|
949
|
-
version = "1.
|
|
1001
|
+
version = "1.29.3"
|
|
950
1002
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
951
|
-
checksum = "
|
|
1003
|
+
checksum = "3c14b15dffa2f4bd712103e857140aa04a4f2ff6e955c77d7eb8e53ee02a3b64"
|
|
952
1004
|
dependencies = [
|
|
953
1005
|
"getrandom",
|
|
954
1006
|
"js-sys",
|
|
@@ -957,9 +1009,9 @@ dependencies = [
|
|
|
957
1009
|
|
|
958
1010
|
[[package]]
|
|
959
1011
|
name = "walkdir"
|
|
960
|
-
version = "2.5.
|
|
1012
|
+
version = "2.5.1"
|
|
961
1013
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
962
|
-
checksum = "
|
|
1014
|
+
checksum = "b42e295b7452c4604982280d8586001fcad9b8b201cac67bca9771e7a7475403"
|
|
963
1015
|
dependencies = [
|
|
964
1016
|
"same-file",
|
|
965
1017
|
"winapi-util",
|
|
@@ -967,12 +1019,11 @@ dependencies = [
|
|
|
967
1019
|
|
|
968
1020
|
[[package]]
|
|
969
1021
|
name = "wasm-bindgen"
|
|
970
|
-
version = "0.2.
|
|
1022
|
+
version = "0.2.130"
|
|
971
1023
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
972
|
-
checksum = "
|
|
1024
|
+
checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c"
|
|
973
1025
|
dependencies = [
|
|
974
1026
|
"cfg-if",
|
|
975
|
-
"once_cell",
|
|
976
1027
|
"rustversion",
|
|
977
1028
|
"wasm-bindgen-macro",
|
|
978
1029
|
"wasm-bindgen-shared",
|
|
@@ -980,9 +1031,9 @@ dependencies = [
|
|
|
980
1031
|
|
|
981
1032
|
[[package]]
|
|
982
1033
|
name = "wasm-bindgen-macro"
|
|
983
|
-
version = "0.2.
|
|
1034
|
+
version = "0.2.130"
|
|
984
1035
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
985
|
-
checksum = "
|
|
1036
|
+
checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9"
|
|
986
1037
|
dependencies = [
|
|
987
1038
|
"quote",
|
|
988
1039
|
"wasm-bindgen-macro-support",
|
|
@@ -990,31 +1041,31 @@ dependencies = [
|
|
|
990
1041
|
|
|
991
1042
|
[[package]]
|
|
992
1043
|
name = "wasm-bindgen-macro-support"
|
|
993
|
-
version = "0.2.
|
|
1044
|
+
version = "0.2.130"
|
|
994
1045
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
995
|
-
checksum = "
|
|
1046
|
+
checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a"
|
|
996
1047
|
dependencies = [
|
|
997
1048
|
"bumpalo",
|
|
998
1049
|
"proc-macro2",
|
|
999
1050
|
"quote",
|
|
1000
|
-
"syn 3.0.
|
|
1051
|
+
"syn 3.0.10",
|
|
1001
1052
|
"wasm-bindgen-shared",
|
|
1002
1053
|
]
|
|
1003
1054
|
|
|
1004
1055
|
[[package]]
|
|
1005
1056
|
name = "wasm-bindgen-shared"
|
|
1006
|
-
version = "0.2.
|
|
1057
|
+
version = "0.2.130"
|
|
1007
1058
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1008
|
-
checksum = "
|
|
1059
|
+
checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e"
|
|
1009
1060
|
dependencies = [
|
|
1010
1061
|
"unicode-ident",
|
|
1011
1062
|
]
|
|
1012
1063
|
|
|
1013
1064
|
[[package]]
|
|
1014
1065
|
name = "web-sys"
|
|
1015
|
-
version = "0.3.
|
|
1066
|
+
version = "0.3.107"
|
|
1016
1067
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1017
|
-
checksum = "
|
|
1068
|
+
checksum = "d7d179596ff5ec0f6de4db64d54011bde6289cc49603d3a6e4ce3f329207ab88"
|
|
1018
1069
|
dependencies = [
|
|
1019
1070
|
"js-sys",
|
|
1020
1071
|
"wasm-bindgen",
|
|
@@ -1068,18 +1119,18 @@ dependencies = [
|
|
|
1068
1119
|
|
|
1069
1120
|
[[package]]
|
|
1070
1121
|
name = "zerocopy"
|
|
1071
|
-
version = "0.8.
|
|
1122
|
+
version = "0.8.64"
|
|
1072
1123
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1073
|
-
checksum = "
|
|
1124
|
+
checksum = "ed43f3060383c64b000f3c630550aebdfa9d3b76d48de32390483dd2cc7e0865"
|
|
1074
1125
|
dependencies = [
|
|
1075
1126
|
"zerocopy-derive",
|
|
1076
1127
|
]
|
|
1077
1128
|
|
|
1078
1129
|
[[package]]
|
|
1079
1130
|
name = "zerocopy-derive"
|
|
1080
|
-
version = "0.8.
|
|
1131
|
+
version = "0.8.64"
|
|
1081
1132
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1082
|
-
checksum = "
|
|
1133
|
+
checksum = "a5cbd820fe3e35fb38c83b6dc7e6b1618bc46e0cd10073ae94e8d52dc468d8b9"
|
|
1083
1134
|
dependencies = [
|
|
1084
1135
|
"proc-macro2",
|
|
1085
1136
|
"quote",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bramble-graphql
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -9,6 +9,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.12
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.13
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.14
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
12
13
|
Classifier: Programming Language :: Rust
|
|
13
14
|
Classifier: Topic :: Internet :: WWW/HTTP
|
|
14
15
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
@@ -289,6 +289,50 @@ def _enum_member_from_graphql_name(enum_class: type, name: Any) -> Any:
|
|
|
289
289
|
)
|
|
290
290
|
|
|
291
291
|
|
|
292
|
+
#: The standard-library scalars bramble names and serialises without any registration (see
|
|
293
|
+
#: `BUILTIN_SCALARS`, and `_serialize_scalar` for the way back out), and how each one reads the
|
|
294
|
+
#: string a variable or a literal delivers it as. Without these an argument declared
|
|
295
|
+
#: `datetime.datetime` reached the resolver as the raw string, which looks right until it is
|
|
296
|
+
#: handed to something that wants the real type.
|
|
297
|
+
_BUILTIN_SCALAR_PARSERS: dict[str, tuple[type, Callable[[str], Any]]] = {
|
|
298
|
+
"Date": (datetime.date, datetime.date.fromisoformat),
|
|
299
|
+
"DateTime": (datetime.datetime, datetime.datetime.fromisoformat),
|
|
300
|
+
"Decimal": (decimal.Decimal, decimal.Decimal),
|
|
301
|
+
"Time": (datetime.time, datetime.time.fromisoformat),
|
|
302
|
+
"UUID": (uuid.UUID, uuid.UUID),
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
def _parse_builtin_scalar(type_name: str, value: Any) -> Any:
|
|
307
|
+
"""One of `_BUILTIN_SCALAR_PARSERS`, read from the value a client sent."""
|
|
308
|
+
python_type, parser = _BUILTIN_SCALAR_PARSERS[type_name]
|
|
309
|
+
|
|
310
|
+
# A value that already *is* the Python type passes through — an internal caller can put a real
|
|
311
|
+
# `datetime` in `variable_values`, and re-parsing it would mean stringifying it first. Except
|
|
312
|
+
# that a `datetime` is also a `date`: passing one through a `Date` argument would hand the
|
|
313
|
+
# resolver a type its annotation does not name.
|
|
314
|
+
if isinstance(value, python_type) and not (python_type is datetime.date and isinstance(value, datetime.datetime)):
|
|
315
|
+
return value
|
|
316
|
+
|
|
317
|
+
# A JSON document can carry a number for a decimal, and stringifying it is exactly what the
|
|
318
|
+
# constructor wants. The date and time types take no such reading of a number.
|
|
319
|
+
if python_type is decimal.Decimal and isinstance(value, (int, float)) and not isinstance(value, bool):
|
|
320
|
+
value = str(value)
|
|
321
|
+
|
|
322
|
+
if not isinstance(value, str):
|
|
323
|
+
raise GraphQLError(
|
|
324
|
+
f"'{type_name}' expects a string, got {type(value).__name__}",
|
|
325
|
+
code=ErrorCode.ARGUMENT_TYPE_MISMATCH,
|
|
326
|
+
)
|
|
327
|
+
try:
|
|
328
|
+
return parser(value)
|
|
329
|
+
except (ValueError, decimal.DecimalException) as exc:
|
|
330
|
+
raise GraphQLError(
|
|
331
|
+
f"'{value}' is not a valid value for '{type_name}'",
|
|
332
|
+
code=ErrorCode.ARGUMENT_TYPE_MISMATCH,
|
|
333
|
+
) from exc
|
|
334
|
+
|
|
335
|
+
|
|
292
336
|
def _coerce_value(type_info: "GraphQLTypeInfo", value: Any, schema: "Schema") -> Any:
|
|
293
337
|
"""Coerces a resolved argument value to what a resolver should actually receive, recursing
|
|
294
338
|
through the value's own declared type structure: `NonNull`/`List` wrapping (each list item
|
|
@@ -317,6 +361,10 @@ def _coerce_value(type_info: "GraphQLTypeInfo", value: Any, schema: "Schema") ->
|
|
|
317
361
|
if scalar_definition is not None and scalar_definition.parse_value is not None:
|
|
318
362
|
return scalar_definition.parse_value(value)
|
|
319
363
|
|
|
364
|
+
# After the registered hook, so a schema that registers its own `DateTime` still overrides it.
|
|
365
|
+
if type_name in _BUILTIN_SCALAR_PARSERS:
|
|
366
|
+
return _parse_builtin_scalar(type_name, value)
|
|
367
|
+
|
|
320
368
|
named_type = schema.types_by_name.get(type_name)
|
|
321
369
|
if named_type is not None and named_type.__bramble_type_info__.kind == "enum":
|
|
322
370
|
# An enum literal reaches here as the plain name string `lower_query` produced -- turn it
|
|
@@ -27,10 +27,10 @@ extension-module = ["pyo3/extension-module"]
|
|
|
27
27
|
bramble-core = { path = "../bramble-core" }
|
|
28
28
|
async-graphql-parser = "7.2.1"
|
|
29
29
|
async-graphql-value = "7.2.1"
|
|
30
|
-
pyo3 = { version = "0.
|
|
30
|
+
pyo3 = { version = "0.30.1", features = ["abi3-py310"] }
|
|
31
31
|
serde_json = "1.0.151"
|
|
32
32
|
|
|
33
33
|
[dev-dependencies]
|
|
34
34
|
# `auto-initialize` starts an interpreter on demand so `Python::attach` works in a plain test
|
|
35
35
|
# binary, without a Python process already hosting it.
|
|
36
|
-
pyo3 = { version = "0.
|
|
36
|
+
pyo3 = { version = "0.30.1", features = ["abi3-py310", "auto-initialize"] }
|
|
@@ -219,7 +219,7 @@ pub(crate) fn graphql_value_to_python(
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
#[pyclass(name = "LoweredDirective", frozen, get_all
|
|
222
|
+
#[pyclass(name = "LoweredDirective", frozen, get_all)]
|
|
223
223
|
pub struct PyLoweredDirective {
|
|
224
224
|
pub name: String,
|
|
225
225
|
pub arguments: Py<PyDict>,
|
|
@@ -233,7 +233,7 @@ pub struct PyLoweredDirective {
|
|
|
233
233
|
/// resolved at runtime (`type_condition` narrows *which* selections apply to that concrete type,
|
|
234
234
|
/// but doesn't change that the binding itself is deferred); resolving it any earlier would bake in
|
|
235
235
|
/// a possibly-wrong parameter mapping. See `bramble_core::lowering::LoweredField`'s own doc comment.
|
|
236
|
-
#[pyclass(name = "LoweredField", frozen, get_all
|
|
236
|
+
#[pyclass(name = "LoweredField", frozen, get_all)]
|
|
237
237
|
pub struct PyLoweredField {
|
|
238
238
|
pub response_key: String,
|
|
239
239
|
pub field_name: String,
|
{bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/operation_directive_info.rs
RENAMED
|
@@ -23,7 +23,7 @@ use pyo3::prelude::*;
|
|
|
23
23
|
use crate::resolver_binding::classify_parameters;
|
|
24
24
|
use crate::type_info::{PyArgumentInfo, SchemaError, convert_argument};
|
|
25
25
|
|
|
26
|
-
#[pyclass(name = "OperationDirectiveInfo", frozen
|
|
26
|
+
#[pyclass(name = "OperationDirectiveInfo", frozen)]
|
|
27
27
|
pub struct PyOperationDirectiveInfo {
|
|
28
28
|
#[pyo3(get)]
|
|
29
29
|
pub name: String,
|
|
@@ -25,7 +25,7 @@ use crate::error::raise;
|
|
|
25
25
|
/// A variable definition inside an operation's own `(...)` parameter list, e.g. `$slug: String!`
|
|
26
26
|
/// -- exposes the type exactly as written in the query (`type_str`), not resolved against any
|
|
27
27
|
/// schema, since codegen (the only consumer of this module) works from the query text alone.
|
|
28
|
-
#[pyclass(name = "QueryVariableDefinition", frozen, get_all
|
|
28
|
+
#[pyclass(name = "QueryVariableDefinition", frozen, get_all)]
|
|
29
29
|
pub struct PyQueryVariableDefinition {
|
|
30
30
|
pub name: String,
|
|
31
31
|
pub type_str: String,
|
|
@@ -40,7 +40,7 @@ pub struct PyQueryVariableDefinition {
|
|
|
40
40
|
/// which flattens them for execution's sake) -- codegen wants each named fragment as its own
|
|
41
41
|
/// reusable unit, so `fragment_name` is left for the caller to look up in the document's own
|
|
42
42
|
/// `fragments` list.
|
|
43
|
-
#[pyclass(name = "QuerySelection", frozen, get_all
|
|
43
|
+
#[pyclass(name = "QuerySelection", frozen, get_all)]
|
|
44
44
|
pub struct PyQuerySelection {
|
|
45
45
|
pub kind: String,
|
|
46
46
|
pub field_name: Option<String>,
|
|
@@ -51,7 +51,7 @@ pub struct PyQuerySelection {
|
|
|
51
51
|
pub selections: Vec<Py<PyQuerySelection>>,
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
#[pyclass(name = "QueryOperation", frozen, get_all
|
|
54
|
+
#[pyclass(name = "QueryOperation", frozen, get_all)]
|
|
55
55
|
pub struct PyQueryOperation {
|
|
56
56
|
pub operation_type: String,
|
|
57
57
|
pub name: Option<String>,
|
|
@@ -59,14 +59,14 @@ pub struct PyQueryOperation {
|
|
|
59
59
|
pub selections: Vec<Py<PyQuerySelection>>,
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
#[pyclass(name = "QueryFragment", frozen, get_all
|
|
62
|
+
#[pyclass(name = "QueryFragment", frozen, get_all)]
|
|
63
63
|
pub struct PyQueryFragment {
|
|
64
64
|
pub name: String,
|
|
65
65
|
pub type_condition: String,
|
|
66
66
|
pub selections: Vec<Py<PyQuerySelection>>,
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
#[pyclass(name = "QueryDocument", frozen, get_all
|
|
69
|
+
#[pyclass(name = "QueryDocument", frozen, get_all)]
|
|
70
70
|
pub struct PyQueryDocument {
|
|
71
71
|
pub operations: Vec<Py<PyQueryOperation>>,
|
|
72
72
|
pub fragments: Vec<Py<PyQueryFragment>>,
|
{bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/crates/bramble-py/src/schema_directive_info.rs
RENAMED
|
@@ -24,7 +24,7 @@ use pyo3::types::{PyDict, PyType};
|
|
|
24
24
|
use crate::type_info::SchemaError;
|
|
25
25
|
use crate::typing_utils::{resolve_graphql_type, seed_lazy_namespace_for_class};
|
|
26
26
|
|
|
27
|
-
#[pyclass(name = "DirectiveFieldInfo", frozen, get_all
|
|
27
|
+
#[pyclass(name = "DirectiveFieldInfo", frozen, get_all)]
|
|
28
28
|
#[derive(Clone)]
|
|
29
29
|
pub struct PyDirectiveFieldInfo {
|
|
30
30
|
pub name: String,
|
|
@@ -42,7 +42,7 @@ impl From<DirectiveFieldDefinition> for PyDirectiveFieldInfo {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
#[pyclass(name = "SchemaDirectiveInfo", frozen
|
|
45
|
+
#[pyclass(name = "SchemaDirectiveInfo", frozen)]
|
|
46
46
|
pub struct PySchemaDirectiveInfo {
|
|
47
47
|
#[pyo3(get)]
|
|
48
48
|
pub name: String,
|
|
@@ -43,7 +43,7 @@ create_exception!(
|
|
|
43
43
|
/// `graphql_type` (kept for display/backward compatibility) because execution (Task 11) needs to
|
|
44
44
|
/// walk `NonNull`/`List` wrapping structurally for correct null-propagation -- a rendered
|
|
45
45
|
/// `"[String!]!"` can't drive that logic without re-parsing it.
|
|
46
|
-
#[pyclass(name = "GraphQLTypeInfo", frozen, get_all
|
|
46
|
+
#[pyclass(name = "GraphQLTypeInfo", frozen, get_all)]
|
|
47
47
|
pub struct PyGraphQLType {
|
|
48
48
|
pub kind: String,
|
|
49
49
|
pub name: Option<String>,
|
|
@@ -70,7 +70,7 @@ fn convert_graphql_type(py: Python<'_>, graphql_type: &GraphQLType) -> PyResult<
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
#[pyclass(name = "ArgumentInfo", frozen, get_all
|
|
73
|
+
#[pyclass(name = "ArgumentInfo", frozen, get_all)]
|
|
74
74
|
pub struct PyArgumentInfo {
|
|
75
75
|
pub name: String,
|
|
76
76
|
pub graphql_name: Option<String>,
|
|
@@ -103,7 +103,7 @@ pub(crate) fn convert_argument(py: Python<'_>, argument: ArgumentDefinition) ->
|
|
|
103
103
|
})
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
#[pyclass(name = "FieldInfo", frozen, get_all
|
|
106
|
+
#[pyclass(name = "FieldInfo", frozen, get_all)]
|
|
107
107
|
pub struct PyFieldInfo {
|
|
108
108
|
pub name: String,
|
|
109
109
|
pub graphql_name: Option<String>,
|
|
@@ -147,7 +147,7 @@ pub(crate) fn convert_field(py: Python<'_>, field: FieldDefinition) -> PyResult<
|
|
|
147
147
|
})
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
#[pyclass(name = "EnumValueInfo", frozen, get_all
|
|
150
|
+
#[pyclass(name = "EnumValueInfo", frozen, get_all)]
|
|
151
151
|
pub struct PyEnumValueInfo {
|
|
152
152
|
pub name: String,
|
|
153
153
|
pub graphql_name: Option<String>,
|
|
@@ -23,7 +23,7 @@ use pyo3::prelude::*;
|
|
|
23
23
|
use crate::type_info::SchemaError;
|
|
24
24
|
use crate::typing_utils::{find_marker, is_union_origin, lazy_type_class, named_type_name, unwrap_annotated};
|
|
25
25
|
|
|
26
|
-
#[pyclass(name = "UnionInfo", frozen
|
|
26
|
+
#[pyclass(name = "UnionInfo", frozen)]
|
|
27
27
|
pub struct PyUnionInfo {
|
|
28
28
|
#[pyo3(get)]
|
|
29
29
|
pub name: String,
|
|
@@ -5,7 +5,7 @@ build-backend = "maturin"
|
|
|
5
5
|
[project]
|
|
6
6
|
# The distribution name on PyPI; the import package is still `bramble` (see `[tool.maturin]`).
|
|
7
7
|
name = "bramble-graphql"
|
|
8
|
-
version = "0.3.
|
|
8
|
+
version = "0.3.2"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "Mario Ritzerfeld" }
|
|
11
11
|
]
|
|
@@ -26,6 +26,7 @@ classifiers = [
|
|
|
26
26
|
"Programming Language :: Python :: 3.12",
|
|
27
27
|
"Programming Language :: Python :: 3.13",
|
|
28
28
|
"Programming Language :: Python :: 3.14",
|
|
29
|
+
"Programming Language :: Python :: 3.15",
|
|
29
30
|
"Programming Language :: Rust",
|
|
30
31
|
"Topic :: Internet :: WWW/HTTP",
|
|
31
32
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bramble_graphql-0.3.0 → bramble_graphql-0.3.2}/bramble/subscriptions/graphql_transport_ws.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|