mirror of
https://github.com/remnawave/python-sdk.git
synced 2026-08-28 12:21:13 +00:00
- Implemented TemplateResponseDto and UpdateTemplateRequestDto for subscription templates. - Created models for system statistics including CPU, memory, and bandwidth. - Developed user models for user creation, updates, and responses. - Added bulk actions for user updates and statistics tracking. - Introduced tests for authentication, bandwidth statistics, hosts, inbounds, key generation, nodes, subscriptions, and user management. - Enhanced utility functions for generating random strings, emails, and date ranges for testing.
23 lines
428 B
Python
23 lines
428 B
Python
from .handler import handle_api_error
|
|
from .general import (
|
|
ConflictError,
|
|
ApiErrorResponse,
|
|
BadRequestError,
|
|
NotFoundError,
|
|
ForbiddenError,
|
|
UnauthorizedError,
|
|
ServerError,
|
|
ApiError,
|
|
)
|
|
|
|
__all__ = [
|
|
"handle_api_error",
|
|
"ApiError",
|
|
"ApiErrorResponse",
|
|
"NotFoundError",
|
|
"BadRequestError",
|
|
"ForbiddenError",
|
|
"UnauthorizedError",
|
|
"ConflictError",
|
|
"ServerError",
|
|
]
|