@@ -237,7 +237,6 @@ def download(
237237 start : Union [str , datetime ],
238238 auth_strategy : str | Omit = omit ,
239239 exclude_method : SequenceNotStr [str ] | Omit = omit ,
240- format : Literal ["jsonl" , "jsonl.gz" ] | Omit = omit ,
241240 limit : int | Omit = omit ,
242241 method : str | Omit = omit ,
243242 search : str | Omit = omit ,
@@ -250,12 +249,13 @@ def download(
250249 extra_body : Body | None = None ,
251250 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
252251 ) -> AuditLogDownloadResult :
253- """Download a complete audit log export to a writable binary destination .
252+ """Download a complete gzip-compressed JSON Lines audit log export .
254253
255- The SDK verifies every chunk and retries transient transfer failures. It
256- does not close the destination. If the download fails, the destination
257- may contain a partial export; use a temporary file and atomic rename
258- when the completed export must be published atomically.
254+ The SDK writes the export to a writable binary destination, verifies
255+ every chunk, and retries transient transfer failures. It does not close
256+ the destination. If the download fails, the destination may contain a
257+ partial export; use a temporary file and atomic rename when the completed
258+ export must be published atomically.
259259 """
260260
261261 def fetch_chunk (cursor : str | None ) -> ContextManager [StreamedBinaryAPIResponse ]:
@@ -265,7 +265,6 @@ def fetch_chunk(cursor: str | None) -> ContextManager[StreamedBinaryAPIResponse]
265265 auth_strategy = auth_strategy ,
266266 cursor = cursor if cursor is not None else omit ,
267267 exclude_method = exclude_method ,
268- format = format ,
269268 limit = limit ,
270269 method = method ,
271270 search = search ,
@@ -481,7 +480,6 @@ async def download(
481480 start : Union [str , datetime ],
482481 auth_strategy : str | Omit = omit ,
483482 exclude_method : SequenceNotStr [str ] | Omit = omit ,
484- format : Literal ["jsonl" , "jsonl.gz" ] | Omit = omit ,
485483 limit : int | Omit = omit ,
486484 method : str | Omit = omit ,
487485 search : str | Omit = omit ,
@@ -494,12 +492,13 @@ async def download(
494492 extra_body : Body | None = None ,
495493 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
496494 ) -> AuditLogDownloadResult :
497- """Download a complete audit log export to a writable binary destination .
495+ """Download a complete gzip-compressed JSON Lines audit log export .
498496
499- The SDK verifies every chunk and retries transient transfer failures. It
500- does not close the destination. If the download fails, the destination
501- may contain a partial export; use a temporary file and atomic rename
502- when the completed export must be published atomically.
497+ The SDK writes the export to a writable binary destination, verifies
498+ every chunk, and retries transient transfer failures. It does not close
499+ the destination. If the download fails, the destination may contain a
500+ partial export; use a temporary file and atomic rename when the completed
501+ export must be published atomically.
503502 """
504503
505504 def fetch_chunk (cursor : str | None ) -> AsyncContextManager [AsyncStreamedBinaryAPIResponse ]:
@@ -509,7 +508,6 @@ def fetch_chunk(cursor: str | None) -> AsyncContextManager[AsyncStreamedBinaryAP
509508 auth_strategy = auth_strategy ,
510509 cursor = cursor if cursor is not None else omit ,
511510 exclude_method = exclude_method ,
512- format = format ,
513511 limit = limit ,
514512 method = method ,
515513 search = search ,
0 commit comments