Skip to content

Commit 91bb9e0

Browse files
committed
remove download
1 parent afc8693 commit 91bb9e0

1 file changed

Lines changed: 0 additions & 28 deletions

File tree

src/scrapybara/client.py

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -981,20 +981,6 @@ def upload(
981981
request_options=request_options,
982982
)
983983

984-
def download(
985-
self,
986-
*,
987-
path: str,
988-
local_path: str,
989-
request_options: Optional[RequestOptions] = None,
990-
) -> FileResponse:
991-
return self._client.instance.download(
992-
self.id,
993-
path=path,
994-
local_path=local_path,
995-
request_options=request_options,
996-
)
997-
998984
class BrowserInstance(BaseInstance):
999985
def __init__(
1000986
self,
@@ -1517,20 +1503,6 @@ async def upload(
15171503
request_options=request_options,
15181504
)
15191505

1520-
async def download(
1521-
self,
1522-
*,
1523-
path: str,
1524-
local_path: str,
1525-
request_options: Optional[RequestOptions] = None,
1526-
) -> FileResponse:
1527-
return await self._client.instance.download(
1528-
self.id,
1529-
path=path,
1530-
local_path=local_path,
1531-
request_options=request_options,
1532-
)
1533-
15341506
class AsyncBrowserInstance(AsyncBaseInstance):
15351507
def __init__(
15361508
self,

0 commit comments

Comments
 (0)