Skip to content

Commit cb3bef8

Browse files
committed
Fixed lints.
Signed-off-by: Pavel Kirilin <[email protected]>
1 parent f9b1f79 commit cb3bef8

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

taskiq_redis/redis_backend.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from redis.asyncio import ConnectionPool, Redis
55
from taskiq import AsyncResultBackend
66
from taskiq.abc.result_backend import TaskiqResult
7-
from taskiq.exceptions import ResultGetError
87

98
from taskiq_redis.exceptions import (
109
DuplicateExpireTimeSelectedError,
@@ -113,8 +112,6 @@ async def get_result(
113112
:param with_logs: if True it will download task's logs.
114113
:raises ResultIsMissingError: if there is no result when trying to get it.
115114
:return: task's return value.
116-
117-
:raises ResultGetError: if result doesn't exist.
118115
"""
119116
async with Redis(connection_pool=self.redis_pool) as redis:
120117
if self.keep_results:

tests/test_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import TypeVar
44

55
import pytest
6-
from taskiq import ResultGetError, TaskiqResult
6+
from taskiq import TaskiqResult
77

88
from taskiq_redis import RedisAsyncResultBackend
99
from taskiq_redis.exceptions import (

0 commit comments

Comments
 (0)