From 19250ee43a2507cb87e4ea8b3cb9a82daaee3462 Mon Sep 17 00:00:00 2001 From: andrew000 <11490628+andrew000@users.noreply.github.com> Date: Mon, 28 Apr 2025 11:38:46 +0300 Subject: [PATCH] Remove re-init in `DataNotDictLikeError` --- aiogram/exceptions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/aiogram/exceptions.py b/aiogram/exceptions.py index 06c372a2..a1b73d56 100644 --- a/aiogram/exceptions.py +++ b/aiogram/exceptions.py @@ -203,6 +203,3 @@ class DataNotDictLikeError(DetailedAiogramError): """ Exception raised when data is not dict-like. """ - - def __init__(self, message: str) -> None: - self.message = message