Skip to content

Commit 74dbc54

Browse files
feat: Revert "Store and return a sha256 checksum for uploaded extensions (#…
1 parent b266775 commit 74dbc54

4 files changed

Lines changed: 2 additions & 29 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 125
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-e123113e7c86e8a61c763f0078adec5b0a7df621f2c31824e8f553331cf7a624.yml
3-
openapi_spec_hash: 940fb94967b6cb5e13daef6161d3abbf
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-4395690aa03bf5e2482d60132f7eebdbf88265af3d53098789f6c2f3c623d769.yml
3+
openapi_spec_hash: ad7c56d655a6e3899532caa4588a02b7
44
config_hash: 06186eb40e0058a2a87ac251fc07415d

src/kernel/types/extension_get_response.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ class ExtensionGetResponse(BaseModel):
2020
size_bytes: int
2121
"""Size of the extension archive in bytes"""
2222

23-
checksum: Optional[str] = None
24-
"""
25-
SHA-256 checksum, encoded as lowercase hexadecimal, of the exact uploaded
26-
extension archive bytes. This is not a normalized checksum of the extension
27-
contents; archive metadata, file ordering, and compression can change the
28-
checksum for otherwise identical contents. Omitted for legacy rows and
29-
server-repackaged Chrome Web Store extensions.
30-
"""
31-
3223
last_used_at: Optional[datetime] = None
3324
"""Timestamp when the extension was last used"""
3425

src/kernel/types/extension_list_response.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ class ExtensionListResponse(BaseModel):
2020
size_bytes: int
2121
"""Size of the extension archive in bytes"""
2222

23-
checksum: Optional[str] = None
24-
"""
25-
SHA-256 checksum, encoded as lowercase hexadecimal, of the exact uploaded
26-
extension archive bytes. This is not a normalized checksum of the extension
27-
contents; archive metadata, file ordering, and compression can change the
28-
checksum for otherwise identical contents. Omitted for legacy rows and
29-
server-repackaged Chrome Web Store extensions.
30-
"""
31-
3223
last_used_at: Optional[datetime] = None
3324
"""Timestamp when the extension was last used"""
3425

src/kernel/types/extension_upload_response.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ class ExtensionUploadResponse(BaseModel):
2020
size_bytes: int
2121
"""Size of the extension archive in bytes"""
2222

23-
checksum: Optional[str] = None
24-
"""
25-
SHA-256 checksum, encoded as lowercase hexadecimal, of the exact uploaded
26-
extension archive bytes. This is not a normalized checksum of the extension
27-
contents; archive metadata, file ordering, and compression can change the
28-
checksum for otherwise identical contents. Omitted for legacy rows and
29-
server-repackaged Chrome Web Store extensions.
30-
"""
31-
3223
last_used_at: Optional[datetime] = None
3324
"""Timestamp when the extension was last used"""
3425

0 commit comments

Comments
 (0)