Skip to content

Commit c1b4f6e

Browse files
committed
refactor(exceptions): update import path for Case model
- Changed the import statement for Case from tux.database.models.moderation to tux.database.models for improved clarity and consistency. - Enhanced the organization of import paths in the exceptions module.
1 parent a40fcff commit c1b4f6e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/tux/shared/config/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
This module contains configuration classes, environment variable handling,
55
and settings management that can be shared across all applications.
66
"""
7+
8+
from .env import configure_environment, get_bot_token, get_database_url
9+
10+
__all__ = ["configure_environment", "get_bot_token", "get_database_url"]

src/tux/shared/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import TypeVar
22

3-
from tux.database.models.moderation import Case
3+
from tux.database.models import Case
44

55

66
class PermissionLevelError(Exception):

0 commit comments

Comments
 (0)