diff --git a/pype/api.py b/pype/api.py index a2b4f22e72..9c0d796128 100644 --- a/pype/api.py +++ b/pype/api.py @@ -9,7 +9,15 @@ from .lib import ( PypeLogger, Anatomy, config, - execute + execute, + run_subprocess, + version_up, + get_asset, + get_hierarchy, + get_version_from_path, + get_last_version_from_path, + source_hash, + get_latest_version ) from .lib.mongo import ( @@ -37,19 +45,6 @@ from .action import ( RepairContextAction ) -from .lib import ( - version_up, - get_asset, - get_hierarchy, - get_version_from_path, - get_last_version_from_path, - source_hash, - get_latest_version -) - -# Special naming case for subprocess since its a built-in method. -from .lib import _subprocess as subprocess - # for backward compatibility with Pype 2 Logger = PypeLogger @@ -94,6 +89,6 @@ __all__ = [ "get_last_version_from_path", "source_hash", - "subprocess", + "run_subprocess", "get_latest_version" ]