Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(sdk): match V1 parameter name `id` in status/error alias signatures

Himadri Mdc5c0280d627
diff --git a/apps/python-sdk/firecrawl/v2/client.py b/apps/python-sdk/firecrawl/v2/client.py
index fa63ef9dd..89506fa1d 100644
--- a/apps/python-sdk/firecrawl/v2/client.py
+++ b/apps/python-sdk/firecrawl/v2/client.py
@@ -296,13 +296,13 @@ class FirecrawlClient:
"""Deprecated v1 alias for start_crawl()."""
return self.start_crawl(url, **kwargs)
- def check_crawl_status(self, crawl_id: str, **kwargs):
+ def check_crawl_status(self, id: str, **kwargs):
"""Deprecated v1 alias for get_crawl_status()."""
- return self.get_crawl_status(crawl_id, **kwargs)
+ return self.get_crawl_status(id, **kwargs)
- def check_crawl_errors(self, crawl_id: str):
+ def check_crawl_errors(self, id: str):
"""Deprecated v1 alias for get_crawl_errors()."""
- return self.get_crawl_errors(crawl_id)
+ return self.get_crawl_errors(id)
def batch_scrape_urls(self, urls, **kwargs):
"""Deprecated v1 alias for batch_scrape()."""
@@ -312,13 +312,13 @@ class FirecrawlClient:
"""Deprecated v1 alias for start_batch_scrape()."""
return self.start_batch_scrape(urls, **kwargs)
- def check_batch_scrape_status(self, job_id: str, **kwargs):
+ def check_batch_scrape_status(self, id: str, **kwargs):
"""Deprecated v1 alias for get_batch_scrape_status()."""
- return self.get_batch_scrape_status(job_id, **kwargs)
+ return self.get_batch_scrape_status(id, **kwargs)
- def check_batch_scrape_errors(self, job_id: str):
+ def check_batch_scrape_errors(self, id: str):
"""Deprecated v1 alias for get_batch_scrape_errors()."""
- return self.get_batch_scrape_errors(job_id)
+ return self.get_batch_scrape_errors(id)
def parse(
self,
diff --git a/apps/python-sdk/firecrawl/v2/client_async.py b/apps/python-sdk/firecrawl/v2/client_async.py
index cfe2a5811..455d755e0 100644
--- a/apps/python-sdk/firecrawl/v2/client_async.py
+++ b/apps/python-sdk/firecrawl/v2/client_async.py
@@ -174,13 +174,13 @@ class AsyncFirecrawlClient:
"""Deprecated v1 alias for start_crawl()."""
return await self.start_crawl(url, **kwargs)
- async def check_crawl_status(self, crawl_id: str, **kwargs):
+ async def check_crawl_status(self, id: str, **kwargs):
"""Deprecated v1 alias for get_crawl_status()."""
- return await self.get_crawl_status(crawl_id, **kwargs)
+ return await self.get_crawl_status(id, **kwargs)
- async def check_crawl_errors(self, crawl_id: str):
+ async def check_crawl_errors(self, id: str):
"""Deprecated v1 alias for get_crawl_errors()."""
- return await self.get_crawl_errors(crawl_id)
+ return await self.get_crawl_errors(id)
async def batch_scrape_urls(self, urls, **kwargs):
"""Deprecated v1 alias for batch_scrape()."""
@@ -190,13 +190,13 @@ class AsyncFirecrawlClient:
"""Deprecated v1 alias for start_batch_scrape()."""
return await self.start_batch_scrape(urls, **kwargs)
- async def check_batch_scrape_status(self, job_id: str, **kwargs):
+ async def check_batch_scrape_status(self, id: str, **kwargs):
"""Deprecated v1 alias for get_batch_scrape_status()."""
- return await self.get_batch_scrape_status(job_id, **kwargs)
+ return await self.get_batch_scrape_status(id, **kwargs)
- async def check_batch_scrape_errors(self, job_id: str):
+ async def check_batch_scrape_errors(self, id: str):
"""Deprecated v1 alias for get_batch_scrape_errors()."""
- return await self.get_batch_scrape_errors(job_id)
+ return await self.get_batch_scrape_errors(id)
async def parse(
self,