mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-24 15:20:52 -05:00
b4486a627f
- Webhook models: remove duplicate index definitions so db.create_all() no longer raises 'index already exists' (columns already have index=True) - ImportService: fix circular import by late-importing ClientService, ProjectService, TimeTrackingService in __init__ - reports: fix F823 by renaming unpack variable _ to _entry_count to avoid shadowing gettext _ in export_task_excel() - Code quality: add .flake8 with extend-ignore so flake8 CI passes; simplify pyproject.toml isort config (drop unsupported options) - Format: run black and isort on app/ - tests: restore minimal app fixture in test_import_export_models
30 lines
936 B
Python
30 lines
936 B
Python
"""
|
|
Repository layer for data access abstraction.
|
|
This layer provides a clean interface for database operations,
|
|
making it easier to test and maintain.
|
|
"""
|
|
|
|
from .client_repository import ClientRepository
|
|
from .comment_repository import CommentRepository
|
|
from .expense_repository import ExpenseRepository
|
|
from .invoice_repository import InvoiceRepository
|
|
from .payment_repository import PaymentRepository
|
|
from .project_repository import ProjectRepository
|
|
from .recurring_invoice_repository import RecurringInvoiceRepository
|
|
from .task_repository import TaskRepository
|
|
from .time_entry_repository import TimeEntryRepository
|
|
from .user_repository import UserRepository
|
|
|
|
__all__ = [
|
|
"TimeEntryRepository",
|
|
"ProjectRepository",
|
|
"InvoiceRepository",
|
|
"UserRepository",
|
|
"ClientRepository",
|
|
"TaskRepository",
|
|
"ExpenseRepository",
|
|
"PaymentRepository",
|
|
"CommentRepository",
|
|
"RecurringInvoiceRepository",
|
|
]
|