From 7eea66fdef179daf2ff46bc18f3197ed4702d060 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Tue, 11 Jun 2024 10:47:45 +0300 Subject: [PATCH] Refactor mcs fn visibility (fix) --- aiogram/fsm/state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/fsm/state.py b/aiogram/fsm/state.py index 5c4b336f..6b8c737c 100644 --- a/aiogram/fsm/state.py +++ b/aiogram/fsm/state.py @@ -109,7 +109,7 @@ class StatesGroupMeta(type): return ".".join((cls.__parent__.__full_group_name__, cls.__name__)) return cls.__name__ - def __prepare_child(cls, child: Type["StatesGroup"]) -> Type["StatesGroup"]: + def _prepare_child(cls, child: Type["StatesGroup"]) -> Type["StatesGroup"]: """Prepare child. While adding `cls` for its children, we also need to recalculate