<filename>aiogram_keyboards/validator.py
from abc import abstractmethod

from aiogram_keyboards.core.dialog_meta import DialogMeta


class Validator:
    @abstractmethod
    async def validate(self, meta: 'DialogMeta') -> bool:
        pass

<filename>aiogram_keyboards/validator.py
from abc import abstractmethod

from aiogram_keyboards.core.dialog_meta import DialogMeta


class Validator:
    @abstractmethod
    async def validate(self, meta: 'DialogMeta') -> bool:
        pass
