mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-03-12 01:03:34 -05:00
Fix module complete: correct SrcCommand import path
Changed import from `.src` to `..src` since SrcCommand is in tito/commands/src.py not tito/commands/module/src.py This fixes the "No module named 'tito.commands.module.src'" error when running `tito module complete`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -768,7 +768,7 @@ class ModuleWorkflowCommand(BaseCommand):
|
||||
"""Export module to the TinyTorch package."""
|
||||
try:
|
||||
# Use the new source command for exporting
|
||||
from .src import SrcCommand
|
||||
from ..src import SrcCommand
|
||||
|
||||
fake_args = Namespace()
|
||||
fake_args.src_command = 'export' # Subcommand
|
||||
|
||||
Reference in New Issue
Block a user