From 7ed027463f313f39a253d19cdac15f6a2f4e7ae3 Mon Sep 17 00:00:00 2001 From: Lokesh Muvva Date: Sun, 31 May 2026 21:51:54 -0700 Subject: [PATCH] refactor: remove dead notebook.py shadowed by notebook/ package Python's import system resolves deployml.notebook to the notebook/ package, never the same-named notebook.py module, so the module was unreachable. Its exports (deploy, load, DeploymentStack, ServiceURLs) are already provided identically by notebook/__init__.py, and the CLI already imports deployml.notebook.docker (a package-only submodule), proving the package is what's in use. --- src/deployml/notebook.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/deployml/notebook.py diff --git a/src/deployml/notebook.py b/src/deployml/notebook.py deleted file mode 100644 index 5c9ba66..0000000 --- a/src/deployml/notebook.py +++ /dev/null @@ -1,19 +0,0 @@ -""" -DeployML Notebook Interface - -A modular notebook interface for MLOps stack deployment and management. -This module provides backward compatibility while delegating to the new modular structure. -""" - -# Import everything from the new modular structure -from .notebook.deployment import deploy, load -from .notebook.stack import DeploymentStack -from .notebook.urls import ServiceURLs - -# Maintain backward compatibility by re-exporting at module level -__all__ = [ - 'deploy', - 'load', - 'DeploymentStack', - 'ServiceURLs' -] \ No newline at end of file