- Auto-fixed 4,496 lint issues (import sorting, modern syntax, etc.) - Added ignore rules for patterns intentional in this codebase: E402 (late imports), E712 (SQLAlchemy filters), B904 (raise from), SIM108/SIM105/SIM117 (readability preferences) - Added per-file ignores for tests and scripts - Excluded broken scripts/rename_terminology.py (has curly quotes) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
70 lines
1.8 KiB
Python
70 lines
1.8 KiB
Python
# app/modules/tenancy/services/__init__.py
|
|
"""
|
|
Tenancy module services.
|
|
|
|
Business logic for platform, merchant, store, and admin user management.
|
|
|
|
Services:
|
|
- store_service: Store operations and product catalog
|
|
- admin_service: Admin user and store management
|
|
- admin_platform_service: Admin-platform assignments
|
|
- store_team_service: Team member management
|
|
- store_domain_service: Custom domain management
|
|
- merchant_service: Merchant CRUD operations
|
|
- platform_service: Platform operations
|
|
- team_service: Team operations
|
|
"""
|
|
|
|
from app.modules.tenancy.services.admin_platform_service import (
|
|
AdminPlatformService,
|
|
admin_platform_service,
|
|
)
|
|
from app.modules.tenancy.services.admin_service import AdminService, admin_service
|
|
from app.modules.tenancy.services.merchant_service import (
|
|
MerchantService,
|
|
merchant_service,
|
|
)
|
|
from app.modules.tenancy.services.platform_service import (
|
|
PlatformService,
|
|
PlatformStats,
|
|
platform_service,
|
|
)
|
|
from app.modules.tenancy.services.store_domain_service import (
|
|
StoreDomainService,
|
|
store_domain_service,
|
|
)
|
|
from app.modules.tenancy.services.store_service import StoreService, store_service
|
|
from app.modules.tenancy.services.store_team_service import (
|
|
StoreTeamService,
|
|
store_team_service,
|
|
)
|
|
from app.modules.tenancy.services.team_service import TeamService, team_service
|
|
|
|
__all__ = [
|
|
# Store
|
|
"StoreService",
|
|
"store_service",
|
|
# Admin
|
|
"AdminService",
|
|
"admin_service",
|
|
# Admin Platform
|
|
"AdminPlatformService",
|
|
"admin_platform_service",
|
|
# Store Team
|
|
"StoreTeamService",
|
|
"store_team_service",
|
|
# Store Domain
|
|
"StoreDomainService",
|
|
"store_domain_service",
|
|
# Merchant
|
|
"MerchantService",
|
|
"merchant_service",
|
|
# Platform
|
|
"PlatformService",
|
|
"PlatformStats",
|
|
"platform_service",
|
|
# Team
|
|
"TeamService",
|
|
"team_service",
|
|
]
|