Refactor mcs fn visibility (fix)

This commit is contained in:
Oleg A 2024-06-11 10:47:45 +03:00
parent 9ffd20b55e
commit 7eea66fdef
No known key found for this signature in database
GPG key ID: 5FE046817A9657C5

View file

@ -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