Skip to content

Commit f778a5c

Browse files
authored
fix: Using cached-property instead of async (#221)
1 parent 422a26f commit f778a5c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ install_requires =
2626
aiorwlock==1.1.0
2727
appdirs>=1.4.4
2828
appdirs-stubs>=0.1.0
29-
async-property==0.2.1
3029
cryptography>=3.4.0
3130
httpx[http2]==0.23.0
3231
pydantic[dotenv]>=1.8.2,<1.10

src/firebolt/client/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from typing import Any, Optional
22

33
from anyio._core._eventloop import get_asynclib
4-
from async_property import async_cached_property # type: ignore
54
from httpx import URL
65
from httpx import AsyncClient as HttpxAsyncClient
76
from httpx import Client as HttpxClient
@@ -123,7 +122,7 @@ class AsyncClient(FireboltClientMixin, HttpxAsyncClient):
123122
FireboltAuth instance.
124123
"""
125124

126-
@async_cached_property
125+
@cached_property
127126
async def account_id(self) -> str:
128127
"""User account id.
129128

0 commit comments

Comments
 (0)