Plan
plan
Move plan dataclass and related exceptions.
CallerRewrite
dataclass
ImportCycleError
Bases: Exception
Raised when a move would introduce a new import cycle.
Source code in packages/axm-anvil/src/axm_anvil/core/plan.py
MovePlan
dataclass
Result of a :func:move_symbols call.
Carries the rendered source and target texts, the names that were
actually moved, and the direct dependencies (imports, constants)
copied into the target. warnings aggregates non-fatal issues
such as ruff post-processing errors.
Source code in packages/axm-anvil/src/axm_anvil/core/plan.py
MoveValidationError
Bases: Exception
Raised when a rendered module fails to parse post-transform.
Source code in packages/axm-anvil/src/axm_anvil/core/plan.py
OverloadPartialMoveError
SharedHelperDetection
dataclass
Classification record for a helper flagged as shared.
Source code in packages/axm-anvil/src/axm_anvil/core/plan.py
SharedHelpersError
Bases: Exception
Raised in error mode when shared helpers would be duplicated.