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:
parent
8adf2b7132
commit
6216c85322
@ -255,7 +255,6 @@ class FirecrawlApp:
|
|||||||
Raises:
|
Raises:
|
||||||
Exception: If the job fails or an error occurs during status checks.
|
Exception: If the job fails or an error occurs during status checks.
|
||||||
"""
|
"""
|
||||||
import time
|
|
||||||
while True:
|
while True:
|
||||||
status_response = self._get_request(f'{self.api_url}/v0/crawl/status/{job_id}', headers)
|
status_response = self._get_request(f'{self.api_url}/v0/crawl/status/{job_id}', headers)
|
||||||
if status_response.status_code == 200:
|
if status_response.status_code == 200:
|
||||||
|
Loading…
Reference in New Issue
Block a user