fix: 补全 shared/worker 层对 domain 常量的 re-export
domain 层重构后,部分常量未从 shared/worker 层 re-export, 导致 10 个测试模块因 ImportError 无法收集。 修复: - packages/shared/url_security.py: 补全 ALLOWED_AUDIO_MIME_TYPES, ALLOWED_IMAGE_MIME_TYPES, MAX_URL_LENGTH 的 re-export, 以及 _check_internal_hostnames, _check_ssrf_ip, _is_trusted_domain 私有别名 - apps/worker/video_processing/speed_engine.py: 补全 MAX_SPEED, MIN_SPEED 的 re-export Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,8 @@ from __future__ import annotations
|
||||
|
||||
from packages.domain.speed_config import (
|
||||
DEFAULT_SPEED,
|
||||
MAX_SPEED,
|
||||
MIN_SPEED,
|
||||
SpeedConfig,
|
||||
_split_atempo_stages,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user