Skip to content

Commit c7c8e43

Browse files
committed
fixup! Add TDR parquet export script
1 parent 0e0ef89 commit c7c8e43

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/azul/terra.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,7 @@ def _check_response(self,
536536
endpoint: furl,
537537
response: urllib3.HTTPResponse
538538
) -> MutableJSON:
539+
# 202 is observed while waiting for the Parquet export
539540
if response.status in (200, 202):
540541
return json.loads(response.data)
541542
# FIXME: Azul sometimes conflates 401 and 403
@@ -659,10 +660,10 @@ def export_parquet_urls(self,
659660
) -> Optional[dict[str, list[mutable_furl]]]:
660661
"""
661662
Obtain URLs of Parquet files for the data tables of the specified
662-
snapshot. This is an time-consuming operation that usually takes on the
663-
order of 1 minute to complete.
663+
snapshot. This is a time-consuming operation that usually takes on the
664+
order of one minute to complete.
664665
665-
:param snapshot_id: The UUID of the snapshot.
666+
:param snapshot_id: The UUID of the snapshot
666667
667668
:return: A mapping of table names to lists of Parquet file download
668669
URLs, or `None` if if no Parquet downloads are available for

0 commit comments

Comments
 (0)