File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11"""Utility for Bright Data API interactions."""
22
3- import json
43import os
54import time
65from typing import Any , Dict , Literal , Optional
@@ -268,7 +267,7 @@ def get_dataset_data(
268267 if not snapshot_id :
269268 raise ValueError (f"No snapshot_id in 202 response: { response .text } " )
270269
271- for attempt in range (max_poll_attempts ):
270+ for _attempt in range (max_poll_attempts ):
272271 time .sleep (poll_interval )
273272
274273 snapshot_response = requests .get (
@@ -359,7 +358,7 @@ async def get_dataset_data_async(
359358 response_text = await response .text ()
360359 raise ValueError (f"No snapshot_id in 202 response: { response_text } " )
361360
362- for attempt in range (max_poll_attempts ):
361+ for _attempt in range (max_poll_attempts ):
363362 await asyncio .sleep (poll_interval )
364363
365364 async with session .get (
You can’t perform that action at this time.
0 commit comments