Skip to content

Commit 9b637d4

Browse files
committed
fix lint
1 parent 0385d4f commit 9b637d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

haystack_brightdata/_utilities.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Utility for Bright Data API interactions."""
22

3-
import json
43
import os
54
import time
65
from 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(

0 commit comments

Comments
 (0)