Skip to content

Commit

Permalink
Fix runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertCraigie committed Nov 19, 2023
1 parent ec7ac07 commit 5a18e78
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/prisma/_async_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
class HTTP(AbstractHTTP[httpx.AsyncClient, httpx.Response]):
session: httpx.AsyncClient

__slots__ = ('session',)

async def download(self, url: str, dest: str) -> None:
async with self.session.stream('GET', url, timeout=None) as resp:
resp.raise_for_status()
Expand Down
2 changes: 0 additions & 2 deletions src/prisma/_sync_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
class HTTP(AbstractHTTP[httpx.Client, httpx.Response]):
session: httpx.Client

__slots__ = ('session',)

def download(self, url: str, dest: str) -> None:
with self.session.stream('GET', url, timeout=None) as resp:
resp.raise_for_status()
Expand Down

0 comments on commit 5a18e78

Please sign in to comment.