Time module already imported

Pylint
W0404: Reimport 'time' (imported line 16) (reimported)
C0415: Import outside toplevel (time) (import-outside-toplevel)
This commit is contained in:
Matt Joyce 2024-05-23 08:21:32 +10:00
parent 8adf2b7132
commit 6216c85322

View File

@ -255,7 +255,6 @@ class FirecrawlApp:
Raises:
Exception: If the job fails or an error occurs during status checks.
"""
import time
while True:
status_response = self._get_request(f'{self.api_url}/v0/crawl/status/{job_id}', headers)
if status_response.status_code == 200: