Skip to content

Commit 0194577

Browse files
feat: profile download: 409 for empty profile + surface API errors in dashboard
1 parent cdabdf2 commit 0194577

2 files changed

Lines changed: 6 additions & 10 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: 112
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-a674e3c4c0063942621d1b4e7f67b72f7e240c12dd88564fe16627618ba33dd6.yml
3-
openapi_spec_hash: 8b97c87f0dafe5fc5e5a7365f3687755
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-4ce09d1a7546ab36f578cb27d819187eeb90c580b11834c7ff7a375aa22f9a20.yml
3+
openapi_spec_hash: 1043ab2d699f6c828680c3352cd4cece
44
config_hash: 08d55086449943a8fec212b870061a3f

src/kernel/resources/profiles.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,8 @@ def download(
216216
extra_body: Body | None = None,
217217
timeout: float | httpx.Timeout | None | NotGiven = not_given,
218218
) -> BinaryAPIResponse:
219-
"""Download the profile.
220-
221-
Profiles are JSON files containing the pieces of state
222-
that we save.
219+
"""
220+
Returns a zstd-compressed tar file of the full user-data directory.
223221
224222
Args:
225223
extra_headers: Send extra headers
@@ -428,10 +426,8 @@ async def download(
428426
extra_body: Body | None = None,
429427
timeout: float | httpx.Timeout | None | NotGiven = not_given,
430428
) -> AsyncBinaryAPIResponse:
431-
"""Download the profile.
432-
433-
Profiles are JSON files containing the pieces of state
434-
that we save.
429+
"""
430+
Returns a zstd-compressed tar file of the full user-data directory.
435431
436432
Args:
437433
extra_headers: Send extra headers

0 commit comments

Comments
 (0)