From f177286890b6ca96e4a372a1512453433dde56ad Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Mon, 29 Jul 2024 21:59:25 -0700 Subject: [PATCH] re-export using "import x as x" --- lethe/__init__.py | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/lethe/__init__.py b/lethe/__init__.py index 884d33b..df9b3fb 100644 --- a/lethe/__init__.py +++ b/lethe/__init__.py @@ -2,13 +2,24 @@ Git snapshotting tool """ from .lethe import ( - snap, snap_ref, snap_tree, find_merge_base, deref_symref, - update_ref, commit_tree, get_tree, get_commit, get_obj, - shorten_hash, get_root, get_latest_commit, - push_ref, fetch_ref, + snap as snap, + snap_ref as snap_ref, + snap_tree as snap_tree, + find_merge_base as find_merge_base, + deref_symref as deref_symref, + update_ref as update_ref, + commit_tree as commit_tree, + get_tree as get_tree, + get_commit as get_commit, + get_obj as get_obj, + shorten_hash as shorten_hash, + get_root as get_root, + get_latest_commit as get_latest_commit, + push_ref as push_ref, + fetch_ref as fetch_ref, ) -from .endpoints import main +from .endpoints import main as main __author__ = 'Jan Petykeiwicz' __version__ = '0.13'