matplobbot-shared 0.1.32__tar.gz → 0.1.35__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.
Potentially problematic release.
This version of matplobbot-shared might be problematic. Click here for more details.
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/PKG-INFO +1 -1
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/matplobbot_shared.egg-info/PKG-INFO +1 -1
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/setup.py +1 -1
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/shared_lib/database.py +5 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/README.md +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/matplobbot_shared.egg-info/SOURCES.txt +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/matplobbot_shared.egg-info/dependency_links.txt +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/matplobbot_shared.egg-info/requires.txt +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/matplobbot_shared.egg-info/top_level.txt +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/setup.cfg +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/shared_lib/__init__.py +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/shared_lib/i18n.py +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/shared_lib/redis_client.py +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/shared_lib/services/__init__.py +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/shared_lib/services/schedule_service.py +0 -0
- {matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/shared_lib/services/university_api.py +0 -0
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="matplobbot-shared",
|
|
5
|
-
version="0.1.
|
|
5
|
+
version="0.1.35", # Let's use the version from your requirements.txt
|
|
6
6
|
packages=find_packages(include=['shared_lib', 'shared_lib.*']),
|
|
7
7
|
description="Shared library for the Matplobbot ecosystem (database, services, i18n).",
|
|
8
8
|
author="Ackrome",
|
|
@@ -113,6 +113,11 @@ async def init_db():
|
|
|
113
113
|
UNIQUE(user_id, entity_type, entity_id)
|
|
114
114
|
)
|
|
115
115
|
''')
|
|
116
|
+
# Add the last_schedule_hash column if it doesn't exist, for backward compatibility
|
|
117
|
+
await connection.execute('''
|
|
118
|
+
ALTER TABLE user_schedule_subscriptions
|
|
119
|
+
ADD COLUMN IF NOT EXISTS last_schedule_hash TEXT;
|
|
120
|
+
''')
|
|
116
121
|
logger.info("Database tables initialized.")
|
|
117
122
|
|
|
118
123
|
async def log_user_action(user_id: int, username: str | None, full_name: str, avatar_pic_url: str | None, action_type: str, action_details: str | None):
|
|
File without changes
|
{matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/matplobbot_shared.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/matplobbot_shared.egg-info/requires.txt
RENAMED
|
File without changes
|
{matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/matplobbot_shared.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{matplobbot_shared-0.1.32 → matplobbot_shared-0.1.35}/shared_lib/services/schedule_service.py
RENAMED
|
File without changes
|
|
File without changes
|