mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Fix
This commit is contained in:
@@ -7,7 +7,7 @@ from taskiq.result import TaskiqResult
|
|||||||
|
|
||||||
class FastAPIREtryMiddleware(SimpleRetryMiddleware):
|
class FastAPIREtryMiddleware(SimpleRetryMiddleware):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
async def _is_need_to_remove(to_remove: list[Any], value: Any) -> bool:
|
def _is_need_to_remove(to_remove: list[Any], value: Any) -> bool:
|
||||||
return type(value) in to_remove
|
return type(value) in to_remove
|
||||||
|
|
||||||
async def on_error(
|
async def on_error(
|
||||||
|
|||||||
Reference in New Issue
Block a user