From dab6ea215fe0c1e31481b3cb2fb3239bfc8ae500 Mon Sep 17 00:00:00 2001 From: Vijay Janapa Reddi Date: Fri, 28 Nov 2025 21:10:55 -0500 Subject: [PATCH] Fix module complete: correct SrcCommand import path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tito/commands/module/workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tito/commands/module/workflow.py b/tito/commands/module/workflow.py index b74131c6..2cb7726d 100644 --- a/tito/commands/module/workflow.py +++ b/tito/commands/module/workflow.py @@ -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