Skip to content

Commit 97aaf22

Browse files
Resolve Python logger warnings (#1848)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
1 parent 30fba98 commit 97aaf22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/api_request_parallel_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ async def process_api_requests_from_file(
253253
)
254254
await asyncio.sleep(remaining_seconds_to_pause)
255255
# ^e.g., if pause is 15 seconds and final limit was hit 5 seconds ago
256-
logging.warn(
256+
logging.warning(
257257
f"Pausing to cool down until {time.ctime(status_tracker.time_of_last_rate_limit_error + seconds_to_pause_after_rate_limit_error)}"
258258
)
259259

0 commit comments

Comments
 (0)