Files
MajoorWaldi-ComfyUI-Majoor-…/shared/__init__.py
T
Your Name 1646e2171b feat: Implement duplicate detection and similarity analysis features
- Added DuplicatesService for background duplicate analysis and similarity detection.
- Introduced endpoints for analyzing duplicates, checking status, and merging tags.
- Created utility functions for file hashing and perceptual hashing.
- Implemented watcher settings for runtime tuning of debounce and deduplication.
- Added database maintenance tools for resetting and deleting the database.
- Enhanced error handling with sanitization for client responses.
- Added tests for duplicates service and error handling.
- Updated ESLint configuration for better code quality checks.
- Introduced filename validation and logging utilities.
2026-02-08 15:11:17 +01:00

26 lines
652 B
Python

"""Shared utilities for Majoor Assets Manager."""
from .result import Result
from .errors import sanitize_error_message
from .log import get_logger, log_success, log_structured, request_id_var
from .time import now, ms, format_timestamp, timer
from .types import FileKind, MetadataQuality, ErrorCode, classify_file, IndexMode, MetadataMode
__all__ = [
"Result",
"get_logger",
"log_success",
"now",
"ms",
"format_timestamp",
"timer",
"FileKind",
"MetadataQuality",
"ErrorCode",
"classify_file",
"IndexMode",
"MetadataMode",
"log_structured",
"request_id_var",
"sanitize_error_message",
]