vertebra-storage 0.3.0__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.
Files changed (65) hide show
  1. vertebra_storage-0.3.0/PKG-INFO +7 -0
  2. vertebra_storage-0.3.0/py/vertebra/_storage.pyi +459 -0
  3. vertebra_storage-0.3.0/py/vertebra/framework/assets/welcome.css +301 -0
  4. vertebra_storage-0.3.0/py/vertebra/framework/assets/welcome.html +146 -0
  5. vertebra_storage-0.3.0/pyproject.toml +37 -0
  6. vertebra_storage-0.3.0/rs/Cargo.lock +7673 -0
  7. vertebra_storage-0.3.0/rs/Cargo.toml +96 -0
  8. vertebra_storage-0.3.0/rs/vertebra-core/Cargo.toml +73 -0
  9. vertebra_storage-0.3.0/rs/vertebra-core/benches/codec.rs +101 -0
  10. vertebra_storage-0.3.0/rs/vertebra-core/benches/guards.rs +60 -0
  11. vertebra_storage-0.3.0/rs/vertebra-core/benches/ring_throughput.rs +102 -0
  12. vertebra_storage-0.3.0/rs/vertebra-core/benches/shm_transport.rs +237 -0
  13. vertebra_storage-0.3.0/rs/vertebra-core/benches/spsc.rs +261 -0
  14. vertebra_storage-0.3.0/rs/vertebra-core/src/bridge.rs +1650 -0
  15. vertebra_storage-0.3.0/rs/vertebra-core/src/broker.rs +4845 -0
  16. vertebra_storage-0.3.0/rs/vertebra-core/src/broker_attach.rs +1113 -0
  17. vertebra_storage-0.3.0/rs/vertebra-core/src/buffer.rs +203 -0
  18. vertebra_storage-0.3.0/rs/vertebra-core/src/channel.rs +3098 -0
  19. vertebra_storage-0.3.0/rs/vertebra-core/src/cleanup.rs +420 -0
  20. vertebra_storage-0.3.0/rs/vertebra-core/src/dbrpc/mod.rs +173 -0
  21. vertebra_storage-0.3.0/rs/vertebra-core/src/gcp_auth.rs +3231 -0
  22. vertebra_storage-0.3.0/rs/vertebra-core/src/gcp_identity.rs +733 -0
  23. vertebra_storage-0.3.0/rs/vertebra-core/src/guards.rs +174 -0
  24. vertebra_storage-0.3.0/rs/vertebra-core/src/id.rs +341 -0
  25. vertebra_storage-0.3.0/rs/vertebra-core/src/ipc.rs +174 -0
  26. vertebra_storage-0.3.0/rs/vertebra-core/src/layout.rs +32 -0
  27. vertebra_storage-0.3.0/rs/vertebra-core/src/lib.rs +54 -0
  28. vertebra_storage-0.3.0/rs/vertebra-core/src/logger.rs +449 -0
  29. vertebra_storage-0.3.0/rs/vertebra-core/src/notify.rs +878 -0
  30. vertebra_storage-0.3.0/rs/vertebra-core/src/platform/linux.rs +107 -0
  31. vertebra_storage-0.3.0/rs/vertebra-core/src/platform/macos.rs +92 -0
  32. vertebra_storage-0.3.0/rs/vertebra-core/src/platform/mod.rs +48 -0
  33. vertebra_storage-0.3.0/rs/vertebra-core/src/platform/windows.rs +73 -0
  34. vertebra_storage-0.3.0/rs/vertebra-core/src/process.rs +84 -0
  35. vertebra_storage-0.3.0/rs/vertebra-core/src/proto.rs +259 -0
  36. vertebra_storage-0.3.0/rs/vertebra-core/src/protocol/codec.rs +345 -0
  37. vertebra_storage-0.3.0/rs/vertebra-core/src/protocol/mod.rs +52 -0
  38. vertebra_storage-0.3.0/rs/vertebra-core/src/py_async.rs +1497 -0
  39. vertebra_storage-0.3.0/rs/vertebra-core/src/router.rs +133 -0
  40. vertebra_storage-0.3.0/rs/vertebra-core/src/shm.rs +2012 -0
  41. vertebra_storage-0.3.0/rs/vertebra-core/src/sync.rs +188 -0
  42. vertebra_storage-0.3.0/rs/vertebra-core/src/telemetry.rs +197 -0
  43. vertebra_storage-0.3.0/rs/vertebra-core/src/text.rs +1354 -0
  44. vertebra_storage-0.3.0/rs/vertebra-core/src/tiered_ring.rs +170 -0
  45. vertebra_storage-0.3.0/rs/vertebra-core/src/transport/mod.rs +2393 -0
  46. vertebra_storage-0.3.0/rs/vertebra-core/src/transport/ring_pair.rs +1704 -0
  47. vertebra_storage-0.3.0/rs/vertebra-core/src/util.rs +43 -0
  48. vertebra_storage-0.3.0/rs/vertebra-core/src/vector.rs +2117 -0
  49. vertebra_storage-0.3.0/rs/vertebra-core/tests/it/broker.rs +631 -0
  50. vertebra_storage-0.3.0/rs/vertebra-core/tests/it/gcp_auth.rs +1891 -0
  51. vertebra_storage-0.3.0/rs/vertebra-core/tests/it/main.rs +19 -0
  52. vertebra_storage-0.3.0/rs/vertebra-core/tests/it/mpmc.rs +278 -0
  53. vertebra_storage-0.3.0/rs/vertebra-core/tests/it/ring.rs +336 -0
  54. vertebra_storage-0.3.0/rs/vertebra-core/tests/it/shm.rs +661 -0
  55. vertebra_storage-0.3.0/rs/vertebra-core/tests/it/shm_streaming.rs +130 -0
  56. vertebra_storage-0.3.0/rs/vertebra-storage/Cargo.toml +50 -0
  57. vertebra_storage-0.3.0/rs/vertebra-storage/benches/put_checksum.rs +47 -0
  58. vertebra_storage-0.3.0/rs/vertebra-storage/build.rs +8 -0
  59. vertebra_storage-0.3.0/rs/vertebra-storage/src/gcp_auth.rs +168 -0
  60. vertebra_storage-0.3.0/rs/vertebra-storage/src/lib.rs +2057 -0
  61. vertebra_storage-0.3.0/rs/vertebra-storage/src/oci.rs +1672 -0
  62. vertebra_storage-0.3.0/rs/vertebra-storage/src/r2.rs +83 -0
  63. vertebra_storage-0.3.0/rs/vertebra-storage/src/signing.rs +1926 -0
  64. vertebra_storage-0.3.0/rs/vertebra-storage/src/store.rs +3750 -0
  65. vertebra_storage-0.3.0/rs/vertebra-storage/tests/storage_engine_tests.rs +5969 -0
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: vertebra-storage
3
+ Version: 0.3.0
4
+ Requires-Dist: vertebra-core==0.3.0
5
+ Summary: Native Rust multi-cloud object storage extension for Vertebra.
6
+ License: MIT
7
+ Requires-Python: >=3.12
@@ -0,0 +1,459 @@
1
+ """Type stubs for the vertebra._storage native extension module."""
2
+
3
+ from collections.abc import Buffer
4
+ from typing import Any, final
5
+
6
+ FREE_THREADED: bool
7
+ GIL_USED: bool
8
+
9
+ __all__ = [
10
+ "AsyncMultipartUpload",
11
+ "AsyncObjectStore",
12
+ "AsyncStreamReader",
13
+ "FREE_THREADED",
14
+ "GIL_USED",
15
+ "ObjectMeta",
16
+ "RustTaskAwaitable",
17
+ "StorageBuffer",
18
+ "SyncMultipartUpload",
19
+ "SyncObjectStore",
20
+ "SyncStreamReader",
21
+ "assemble_gcs_iam_v4_url",
22
+ "build_gcs_v4_canonical_request",
23
+ "py_chunk_r2_uniform_parts",
24
+ "py_sign_aws_sigv4_headers",
25
+ "py_sign_azure_sas_url",
26
+ "py_sign_gcs_v4_iam_url",
27
+ "py_sign_gcs_v4_iam_url_async",
28
+ "py_sign_hmac_url",
29
+ "py_sign_oci_cavage_headers",
30
+ "py_sign_s3_v4_url",
31
+ "py_verify_azure_sas_url",
32
+ "py_verify_gcs_v4_url",
33
+ "py_verify_hmac_url",
34
+ "py_verify_oci_par_url",
35
+ "py_verify_s3_v4_url",
36
+ "sign_oci_par_url",
37
+ ]
38
+
39
+ @final
40
+ class StorageBuffer:
41
+ def __new__(cls) -> StorageBuffer: ...
42
+ def __buffer__(self, flags: int, /) -> memoryview: ...
43
+ def __len__(self) -> int: ...
44
+ def to_bytes(self) -> bytes: ...
45
+
46
+ @final
47
+ class RustTaskAwaitable:
48
+ def __new__(cls) -> RustTaskAwaitable: ...
49
+ def __await__(self) -> Any: ...
50
+
51
+ @final
52
+ class ObjectMeta:
53
+ def __new__(cls) -> ObjectMeta: ...
54
+ @property
55
+ def path(self) -> str: ...
56
+ @property
57
+ def size(self) -> int: ...
58
+ @property
59
+ def last_modified(self) -> str: ...
60
+ @property
61
+ def etag(self) -> str | None: ...
62
+ @property
63
+ def version(self) -> str | None: ...
64
+ @property
65
+ def content_type(self) -> str | None: ...
66
+ @property
67
+ def attributes(self) -> dict[str, str]: ...
68
+ @property
69
+ def sha256(self) -> str | None: ...
70
+ @property
71
+ def crc32c(self) -> str | None: ...
72
+ @property
73
+ def md5(self) -> str | None: ...
74
+ def fields(
75
+ self,
76
+ ) -> tuple[
77
+ str, int, str, str | None, str | None, str | None, dict[str, str], str | None, str | None, str | None
78
+ ]: ...
79
+ def __repr__(self) -> str: ...
80
+
81
+ @final
82
+ class SyncStreamReader:
83
+ def __new__(cls) -> SyncStreamReader: ...
84
+ def __iter__(self) -> SyncStreamReader: ...
85
+ def __next__(self) -> StorageBuffer: ...
86
+ def next_chunk(self) -> StorageBuffer | None: ...
87
+ def close(self) -> None: ...
88
+
89
+ @final
90
+ class AsyncStreamReader:
91
+ def __new__(cls) -> AsyncStreamReader: ...
92
+ def __aiter__(self) -> AsyncStreamReader: ...
93
+ def __anext__(self) -> RustTaskAwaitable: ...
94
+ def next_chunk(self) -> RustTaskAwaitable: ...
95
+ def aclose(self) -> RustTaskAwaitable: ...
96
+ def close(self) -> None: ...
97
+
98
+ @final
99
+ class SyncMultipartUpload:
100
+ def __new__(cls) -> SyncMultipartUpload: ...
101
+ def write_part(self, data: Buffer | bytes) -> None: ...
102
+ def complete(self) -> ObjectMeta: ...
103
+ def abort(self) -> None: ...
104
+
105
+ @final
106
+ class AsyncMultipartUpload:
107
+ def __new__(cls) -> AsyncMultipartUpload: ...
108
+ def write_part(self, data: Buffer | bytes) -> RustTaskAwaitable: ...
109
+ def complete(self) -> RustTaskAwaitable: ...
110
+ def abort(self) -> RustTaskAwaitable: ...
111
+
112
+ @final
113
+ class SyncObjectStore:
114
+ def __new__(
115
+ cls,
116
+ url: str,
117
+ options: dict[str, str] | None = None,
118
+ token_cache_capsule: object | None = None,
119
+ ) -> SyncObjectStore: ...
120
+ @property
121
+ def scheme(self) -> str: ...
122
+ @property
123
+ def supports_atomic_rename(self) -> bool: ...
124
+ def to_async(self) -> AsyncObjectStore: ...
125
+ def put(
126
+ self,
127
+ path: str,
128
+ data: Buffer | bytes,
129
+ *,
130
+ content_type: str | None = None,
131
+ attributes: dict[str, str] | None = None,
132
+ if_not_exists: bool = False,
133
+ if_match: str | None = None,
134
+ if_none_match: str | None = None,
135
+ checksum: bool = False,
136
+ expected_sha256: str | None = None,
137
+ expected_crc32c: str | None = None,
138
+ expected_md5: str | None = None,
139
+ ) -> ObjectMeta: ...
140
+ def put_file(
141
+ self,
142
+ path: str,
143
+ file_path: str,
144
+ *,
145
+ checksum: bool = False,
146
+ expected_sha256: str | None = None,
147
+ expected_crc32c: str | None = None,
148
+ expected_md5: str | None = None,
149
+ ) -> ObjectMeta: ...
150
+ def get_file(
151
+ self,
152
+ path: str,
153
+ file_path: str,
154
+ *,
155
+ expected_sha256: str | None = None,
156
+ ) -> ObjectMeta: ...
157
+ def get_files(self, pairs: list[tuple[str, str]], *, concurrency: int = 16) -> list[ObjectMeta]: ...
158
+ def put_files(self, pairs: list[tuple[str, str]], *, concurrency: int = 16) -> list[ObjectMeta]: ...
159
+ def compose(self, sources: list[str], dst: str, *, content_type: str | None = None) -> ObjectMeta: ...
160
+ def create_multipart(
161
+ self,
162
+ path: str,
163
+ *,
164
+ content_type: str | None = None,
165
+ attributes: dict[str, str] | None = None,
166
+ if_not_exists: bool = False,
167
+ if_match: str | None = None,
168
+ if_none_match: str | None = None,
169
+ checksum: bool = False,
170
+ expected_sha256: str | None = None,
171
+ expected_crc32c: str | None = None,
172
+ expected_md5: str | None = None,
173
+ ) -> SyncMultipartUpload: ...
174
+ def put_multipart(self, path: str, parts: list[Buffer | bytes]) -> ObjectMeta: ...
175
+ def get(self, path: str, *, expected_sha256: str | None = None) -> bytes: ...
176
+ def get_buffer(self, path: str) -> StorageBuffer: ...
177
+ def get_stream(
178
+ self,
179
+ path: str,
180
+ *,
181
+ chunk_size: int | None = None,
182
+ expected_sha256: str | None = None,
183
+ ) -> SyncStreamReader: ...
184
+ def get_range(self, path: str, offset: int, length: int) -> bytes: ...
185
+ def head(self, path: str) -> ObjectMeta: ...
186
+ def exists(self, path: str) -> bool: ...
187
+ def delete(self, path: str) -> None: ...
188
+ def copy(self, src: str, dst: str, *, if_not_exists: bool = False) -> None: ...
189
+ def rename(
190
+ self,
191
+ src: str,
192
+ dst: str,
193
+ *,
194
+ if_not_exists: bool = False,
195
+ atomic_only: bool = False,
196
+ ) -> None: ...
197
+ def list_page(
198
+ self,
199
+ prefix: str | None = None,
200
+ offset: str | None = None,
201
+ limit: int = 1000,
202
+ ) -> tuple[list[ObjectMeta], str | None]: ...
203
+ def list_with_delimiter(
204
+ self,
205
+ prefix: str | None = None,
206
+ ) -> tuple[list[ObjectMeta], list[str]]: ...
207
+ def list(self, prefix: str | None = None) -> list[ObjectMeta]: ...
208
+
209
+ @final
210
+ class AsyncObjectStore:
211
+ def __new__(
212
+ cls,
213
+ url: str,
214
+ options: dict[str, str] | None = None,
215
+ token_cache_capsule: object | None = None,
216
+ ) -> AsyncObjectStore: ...
217
+ @property
218
+ def scheme(self) -> str: ...
219
+ @property
220
+ def supports_atomic_rename(self) -> bool: ...
221
+ def to_sync(self) -> SyncObjectStore: ...
222
+ def put(
223
+ self,
224
+ path: str,
225
+ data: Buffer | bytes,
226
+ *,
227
+ content_type: str | None = None,
228
+ attributes: dict[str, str] | None = None,
229
+ if_not_exists: bool = False,
230
+ if_match: str | None = None,
231
+ if_none_match: str | None = None,
232
+ checksum: bool = False,
233
+ expected_sha256: str | None = None,
234
+ expected_crc32c: str | None = None,
235
+ expected_md5: str | None = None,
236
+ ) -> RustTaskAwaitable: ...
237
+ def put_file(
238
+ self,
239
+ path: str,
240
+ file_path: str,
241
+ *,
242
+ checksum: bool = False,
243
+ expected_sha256: str | None = None,
244
+ expected_crc32c: str | None = None,
245
+ expected_md5: str | None = None,
246
+ ) -> RustTaskAwaitable: ...
247
+ def get_file(
248
+ self,
249
+ path: str,
250
+ file_path: str,
251
+ *,
252
+ expected_sha256: str | None = None,
253
+ ) -> RustTaskAwaitable: ...
254
+ def get_files(self, pairs: list[tuple[str, str]], *, concurrency: int = 16) -> RustTaskAwaitable: ...
255
+ def put_files(self, pairs: list[tuple[str, str]], *, concurrency: int = 16) -> RustTaskAwaitable: ...
256
+ def compose(self, sources: list[str], dst: str, *, content_type: str | None = None) -> RustTaskAwaitable: ...
257
+ def create_multipart(
258
+ self,
259
+ path: str,
260
+ *,
261
+ content_type: str | None = None,
262
+ attributes: dict[str, str] | None = None,
263
+ if_not_exists: bool = False,
264
+ if_match: str | None = None,
265
+ if_none_match: str | None = None,
266
+ checksum: bool = False,
267
+ expected_sha256: str | None = None,
268
+ expected_crc32c: str | None = None,
269
+ expected_md5: str | None = None,
270
+ ) -> RustTaskAwaitable: ...
271
+ def put_multipart(self, path: str, parts: list[Buffer | bytes]) -> RustTaskAwaitable: ...
272
+ def get(self, path: str, *, expected_sha256: str | None = None) -> RustTaskAwaitable: ...
273
+ def get_buffer(self, path: str) -> RustTaskAwaitable: ...
274
+ def get_stream(
275
+ self,
276
+ path: str,
277
+ *,
278
+ chunk_size: int | None = None,
279
+ expected_sha256: str | None = None,
280
+ ) -> AsyncStreamReader: ...
281
+ def get_range(self, path: str, offset: int, length: int) -> RustTaskAwaitable: ...
282
+ def head(self, path: str) -> RustTaskAwaitable: ...
283
+ def exists(self, path: str) -> RustTaskAwaitable: ...
284
+ def delete(self, path: str) -> RustTaskAwaitable: ...
285
+ def copy(self, src: str, dst: str, *, if_not_exists: bool = False) -> RustTaskAwaitable: ...
286
+ def rename(
287
+ self,
288
+ src: str,
289
+ dst: str,
290
+ *,
291
+ if_not_exists: bool = False,
292
+ atomic_only: bool = False,
293
+ ) -> RustTaskAwaitable: ...
294
+ def list(self, prefix: str | None = None) -> RustTaskAwaitable: ...
295
+ def list_page(
296
+ self,
297
+ prefix: str | None = None,
298
+ offset: str | None = None,
299
+ limit: int = 1000,
300
+ ) -> RustTaskAwaitable: ...
301
+ def list_with_delimiter(
302
+ self,
303
+ prefix: str | None = None,
304
+ ) -> RustTaskAwaitable: ...
305
+
306
+ def py_sign_hmac_url(
307
+ base_url: str,
308
+ secret: str,
309
+ method: str,
310
+ expires_in_secs: int = 3600,
311
+ timestamp: int | None = None,
312
+ ) -> str: ...
313
+ def py_verify_hmac_url(
314
+ signed_url: str,
315
+ secret: str,
316
+ method: str,
317
+ timestamp: int,
318
+ ) -> bool: ...
319
+ def py_sign_s3_v4_url(
320
+ bucket: str,
321
+ region: str,
322
+ access_key_id: str,
323
+ secret_access_key: str,
324
+ method: str,
325
+ object_path: str,
326
+ expires_in_secs: int = 3600,
327
+ timestamp: int | None = None,
328
+ endpoint: str | None = None,
329
+ virtual_hosted_style: bool = False,
330
+ ) -> str: ...
331
+ def py_verify_s3_v4_url(
332
+ bucket: str,
333
+ region: str,
334
+ access_key_id: str,
335
+ secret_access_key: str,
336
+ method: str,
337
+ signed_url: str,
338
+ timestamp: int,
339
+ endpoint: str | None = None,
340
+ virtual_hosted_style: bool = False,
341
+ ) -> bool: ...
342
+ def py_sign_gcs_v4_iam_url(
343
+ bucket: str,
344
+ service_account_email: str,
345
+ method: str,
346
+ object_path: str,
347
+ expires_in_secs: int = 3600,
348
+ timestamp: int | None = None,
349
+ iam_endpoint: str = "https://iamcredentials.googleapis.com",
350
+ access_token: str | None = None,
351
+ private_key_pem: str | None = None,
352
+ endpoint: str | None = None,
353
+ token_cache_capsule: object | None = None,
354
+ ) -> str: ...
355
+ def py_sign_gcs_v4_iam_url_async(
356
+ bucket: str,
357
+ service_account_email: str,
358
+ method: str,
359
+ object_path: str,
360
+ expires_in_secs: int = 3600,
361
+ timestamp: int | None = None,
362
+ iam_endpoint: str = "https://iamcredentials.googleapis.com",
363
+ access_token: str | None = None,
364
+ private_key_pem: str | None = None,
365
+ endpoint: str | None = None,
366
+ token_cache_capsule: object | None = None,
367
+ ) -> RustTaskAwaitable: ...
368
+ def py_sign_oci_cavage_headers(
369
+ tenancy_ocid: str,
370
+ user_ocid: str,
371
+ fingerprint: str,
372
+ private_key_pem: str,
373
+ method: str,
374
+ url: str,
375
+ body: bytes | None = None,
376
+ content_type: str | None = None,
377
+ timestamp: int | None = None,
378
+ ) -> dict[str, str]: ...
379
+ def py_sign_azure_sas_url(
380
+ account: str,
381
+ container: str,
382
+ access_key: str,
383
+ method: str,
384
+ blob_path: str,
385
+ expires_in_secs: int = 3600,
386
+ timestamp: int | None = None,
387
+ endpoint: str | None = None,
388
+ ) -> str: ...
389
+ def py_verify_gcs_v4_url(
390
+ bucket: str,
391
+ service_account_email: str,
392
+ method: str,
393
+ signed_url: str,
394
+ timestamp: int | None = None,
395
+ verify_key_pem: str | None = None,
396
+ access_key_id: str | None = None,
397
+ secret_access_key: str | None = None,
398
+ endpoint: str | None = None,
399
+ ) -> bool: ...
400
+ def py_verify_azure_sas_url(
401
+ account: str,
402
+ container: str,
403
+ access_key: str,
404
+ method: str,
405
+ signed_url: str,
406
+ timestamp: int | None = None,
407
+ endpoint: str | None = None,
408
+ ) -> bool: ...
409
+ def py_verify_oci_par_url(
410
+ bucket: str,
411
+ namespace: str,
412
+ region: str,
413
+ par_token: str,
414
+ signed_url: str,
415
+ object_path: str | None = None,
416
+ expires_at: int | None = None,
417
+ timestamp: int | None = None,
418
+ endpoint: str | None = None,
419
+ ) -> bool: ...
420
+ def py_chunk_r2_uniform_parts(
421
+ data: Buffer | bytes,
422
+ part_size: int = 8388608,
423
+ ) -> list[StorageBuffer]: ...
424
+ def py_sign_aws_sigv4_headers(
425
+ service: str,
426
+ region: str,
427
+ access_key_id: str,
428
+ secret_access_key: str,
429
+ method: str,
430
+ url: str,
431
+ payload: bytes,
432
+ content_type: str = "application/json",
433
+ timestamp: int | None = None,
434
+ session_token: str | None = None,
435
+ ) -> dict[str, str]: ...
436
+ def sign_oci_par_url(
437
+ bucket: str,
438
+ namespace: str,
439
+ region: str,
440
+ par_token: str,
441
+ object_path: str,
442
+ expires_in_secs: int = 3600,
443
+ endpoint: str | None = None,
444
+ ) -> str: ...
445
+ def build_gcs_v4_canonical_request(
446
+ bucket: str,
447
+ service_account_email: str,
448
+ method: str,
449
+ object_path: str,
450
+ expires_in_secs: int = 3600,
451
+ timestamp: int | None = None,
452
+ endpoint: str | None = None,
453
+ ) -> tuple[str, str, str, str]: ...
454
+ def assemble_gcs_iam_v4_url(
455
+ canonical_uri: str,
456
+ canonical_querystring: str,
457
+ signature_hex: str,
458
+ endpoint: str | None = None,
459
+ ) -> str: ...