From 5a18e781ec756f6cfc89d5d998e260777ff4c962 Mon Sep 17 00:00:00 2001 From: Robert Craigie Date: Sun, 19 Nov 2023 11:14:33 -0500 Subject: [PATCH] Fix runtime --- src/prisma/_async_http.py | 2 -- src/prisma/_sync_http.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/prisma/_async_http.py b/src/prisma/_async_http.py index e4d6affe5..f7e984266 100644 --- a/src/prisma/_async_http.py +++ b/src/prisma/_async_http.py @@ -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() diff --git a/src/prisma/_sync_http.py b/src/prisma/_sync_http.py index 573b79bb3..b34bd491b 100644 --- a/src/prisma/_sync_http.py +++ b/src/prisma/_sync_http.py @@ -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()