style(backend): one-line import, ruff 0.17 keeps the pragma out of the line width
This commit is contained in:
1 parent
98ab8a579b
commit
5fb8f8a534
1 file changed
+1
-3
@@ -41,9 +41,7 @@ class ChatMetaCache:
|
|||||||
chat_id: int,
|
chat_id: int,
|
||||||
meta: tuple[str | None, str | None],
|
meta: tuple[str | None, str | None],
|
||||||
) -> bool:
|
) -> bool:
|
||||||
from userbot.modules.groups.repository import ( # noqa: PLC0415
|
from userbot.modules.groups.repository import get_latest_chat_meta # noqa: PLC0415
|
||||||
get_latest_chat_meta,
|
|
||||||
)
|
|
||||||
|
|
||||||
if chat_id not in self._cache:
|
if chat_id not in self._cache:
|
||||||
self._cache[chat_id] = await get_latest_chat_meta(pool, account_id, chat_id)
|
self._cache[chat_id] = await get_latest_chat_meta(pool, account_id, chat_id)
|
||||||
|
|||||||
Reference in new issue
Block a user