[refactor] v2: use absolute imports (v2.*) everywhere instead of relative
Mechanical conversion of every relative import under v2/ to an absolute v2.* path (from .x / ..x / ...x -> from v2.<pkg>.x) so imports are unambiguous, grep-able, and stable when code is copied/moved between entrypoints (VideoGenerator, CLI, server). Surgical prefix-only rewrite: only the 'from <dots><module>' prefix changed — import names, parentheses, multi-line formatting, comments, and ordering are byte-for-byte preserved (no collapsing, no reorder, no unrelated reformatting). - 471 imports across 125 files; v2/tests/ was already absolute (untouched). - Validated: all 125 files compile, every 'from v2.* import' target resolves to a real module/package, zero relative imports remain (full sweep), CPU mini suite green (202 passed, 2 skipped).
This commit is contained in:
committed by
Peiyuan Zhang
parent
c6d2976fc2
commit
4e331eb7ff
@@ -14,11 +14,11 @@ from __future__ import annotations
|
||||
import asyncio
|
||||
from typing import Any, AsyncIterator
|
||||
|
||||
from ..request.artifacts import Output
|
||||
from ..request.cancel import Cancelled
|
||||
from ..request.streams import OmniEvent
|
||||
from .disaggregated import DisaggregatedRunner
|
||||
from .engine import Engine
|
||||
from v2.request.artifacts import Output
|
||||
from v2.request.cancel import Cancelled
|
||||
from v2.request.streams import OmniEvent
|
||||
from v2.runtime.disaggregated import DisaggregatedRunner
|
||||
from v2.runtime.engine import Engine
|
||||
|
||||
_SENTINEL = object()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user