We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30fba98 commit 97aaf22Copy full SHA for 97aaf22
examples/api_request_parallel_processor.py
@@ -253,7 +253,7 @@ async def process_api_requests_from_file(
253
)
254
await asyncio.sleep(remaining_seconds_to_pause)
255
# ^e.g., if pause is 15 seconds and final limit was hit 5 seconds ago
256
- logging.warn(
+ logging.warning(
257
f"Pausing to cool down until {time.ctime(status_tracker.time_of_last_rate_limit_error + seconds_to_pause_after_rate_limit_error)}"
258
259
0 commit comments