telegram_libs 0.1.14__tar.gz → 0.1.15__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: telegram_libs
3
- Version: 0.1.14
3
+ Version: 0.1.15
4
4
  Summary: Common libraries for Telegram bots
5
5
  Author: Andrey Gritsaenko gricaenko.95a@gmail.com
6
6
  Requires-Python: >=3.11,<4.0
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "telegram_libs"
3
- version = "0.1.14"
3
+ version = "0.1.15"
4
4
  description = "Common libraries for Telegram bots"
5
5
  authors = ["Andrey Gritsaenko gricaenko.95a@gmail.com"]
6
6
  readme = "README.md"
@@ -2,4 +2,4 @@
2
2
  Telegram Libs - Common libraries for Telegram bots
3
3
  """
4
4
 
5
- __version__ = "0.1.14"
5
+ __version__ = "0.1.15"
@@ -5,6 +5,7 @@ required_constants = []
5
5
  BOTS_AMOUNT = os.getenv("BOTS_AMOUNT")
6
6
  MONGO_URI = os.getenv("MONGO_URI")
7
7
  SUBSCRIPTION_DB_NAME = os.getenv("SUBSCRIPTION_DB_NAME")
8
+ DEBUG = os.getenv("DEBUG", "False").lower() in ("true", "1", "yes")
8
9
 
9
10
  required_constants.append(("BOTS_AMOUNT", BOTS_AMOUNT))
10
11
  required_constants.append(("MONGO_URI", MONGO_URI))
@@ -7,7 +7,6 @@ from telegram import Update
7
7
  from telegram.ext import ContextTypes, Application, CommandHandler
8
8
  from telegram_libs.constants import BOTS_AMOUNT
9
9
  from telegram_libs.translation import t
10
- from telegram_libs.mongo import mongo_client
11
10
  from telegram_libs.support_handlers import register_support_handlers
12
11
 
13
12
 
File without changes
File without changes