- Re-exported commonly used entrypoints from the core module to maintain backward compatibility. - Ensured that existing functionality remains accessible after recent refactoring efforts in the subscription handling codebase.
18 lines
460 B
Python
18 lines
460 B
Python
from aiogram import Router
|
|
|
|
from . import core
|
|
from . import payments
|
|
from . import payment_methods
|
|
|
|
router = Router(name="user_subscription_router")
|
|
|
|
# Include sub-routers
|
|
router.include_router(core.router)
|
|
router.include_router(payments.router)
|
|
router.include_router(payment_methods.router)
|
|
|
|
# Re-export commonly used entrypoints for backward compatibility
|
|
from .core import display_subscription_options, my_subscription_command_handler # noqa: E402,F401
|
|
|
|
|