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", +]