From dfe06897a068c40b79e396c8ba97bc0cffbb9a1a Mon Sep 17 00:00:00 2001 From: cangirolave <41312200+cangirolave@users.noreply.github.com> Date: Mon, 27 Oct 2025 20:54:42 +0300 Subject: [PATCH] Update __init__.py --- callbaker/__init__.py | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/callbaker/__init__.py b/callbaker/__init__.py index fdc9205..cf9ed3b 100644 --- a/callbaker/__init__.py +++ b/callbaker/__init__.py @@ -2,13 +2,23 @@ This module contains all the necessary functions for creating callback data strings and parsing it from call's data. """ +from callbaker.constants import ( + DEFAULT_MARK_VALUE, + DMV, + EMS, + EXTERNAL_MARK_SEPARATOR, + IMS, + INTERNAL_MARK_SEPARATOR, +) +from callbaker.functions import callback_from_info, info_from_callback -EXTERNAL_MARK_SEPARATOR = "&" -INTERNAL_MARK_SEPARATOR = "=" -DEFAULT_MARK_VALUE = "*" - -EMS = EXTERNAL_MARK_SEPARATOR -IMS = INTERNAL_MARK_SEPARATOR -DMV = DEFAULT_MARK_VALUE - -from callbaker.functions import info_from_callback, callback_from_info +__all__ = [ + "info_from_callback", + "callback_from_info", + "DEFAULT_MARK_VALUE", + "DMV", + "EXTERNAL_MARK_SEPARATOR", + "EMS", + "INTERNAL_MARK_SEPARATOR", + "IMS", +]