Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (py311) C:\Users\<user>\Desktop>gto --traceback describe --repo https://<user>:<token>@<repo>.git <model_name>@latest
- ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:620 in _rmtree_unsafe │
- │ │
- │ 617 │ │ │ _rmtree_unsafe(fullname, onerror) │
- │ 618 │ │ else: │
- │ 619 │ │ │ try: │
- │ ❱ 620 │ │ │ │ os.unlink(fullname) │
- │ 621 │ │ │ except OSError: │
- │ 622 │ │ │ │ onerror(os.unlink, fullname, sys.exc_info()) │
- │ 623 │ try: │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ entries = [ │ │
- │ │ │ <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.idx'>, │ │
- │ │ │ <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.pack'> │ │
- │ │ ] │ │
- │ │ entry = <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.idx'> │ │
- │ │ fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pac… │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack' │ │
- │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2F65530> │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
- PermissionError: [WinError 5] Access is denied:
- 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4
- .idx'
- During handling of the above exception, another exception occurred:
- ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:878 in onerror │
- │ │
- │ 875 │ │ │ │ │ resetperms(path) │
- │ 876 │ │ │ │ │ │
- │ 877 │ │ │ │ │ try: │
- │ ❱ 878 │ │ │ │ │ │ _os.unlink(path) │
- │ 879 │ │ │ │ │ # PermissionError is raised on FreeBSD for directories │
- │ 880 │ │ │ │ │ except (IsADirectoryError, PermissionError): │
- │ 881 │ │ │ │ │ │ cls._rmtree(path, ignore_errors=ignore_errors) │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ cls = <class 'tempfile.TemporaryDirectory'> │ │
- │ │ exc_info = ( │ │
- │ │ │ <class 'PermissionError'>, │ │
- │ │ │ PermissionError(13, 'Access is denied'), │ │
- │ │ │ <traceback object at 0x0000013DE5CC5280> │ │
- │ │ ) │ │
- │ │ func = <built-in function unlink> │ │
- │ │ ignore_errors = False │ │
- │ │ name = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4' │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\… │ │
- │ │ resetperms = <function TemporaryDirectory._rmtree.<locals>.onerror.<locals>.resetperms at │ │
- │ │ 0x0000013DE5CBC5E0> │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
- PermissionError: [WinError 5] Access is denied:
- 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4
- .idx'
- During handling of the above exception, another exception occurred:
- ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\git_utils.py:28 in from_repo │
- │ │
- │ 25 │ ): │
- │ 26 │ │ if isinstance(repo, str) and is_url_of_remote_repo(repo_path=repo): │
- │ 27 │ │ │ try: │
- │ ❱ 28 │ │ │ │ with cloned_git_repo(repo=repo) as tmp_dir: │
- │ 29 │ │ │ │ │ repo = read_repo(tmp_dir) │
- │ 30 │ │ │ │ │ repo.git.checkout(branch) │
- │ 31 │ │ │ │ │ yield cls.from_local_repo(repo=repo, config=config) │
- │ │
- │ ╭────────────────────────────────────────── locals ──────────────────────────────────────────╮ │
- │ │ branch = None │ │
- │ │ cls = <class 'gto.registry.GitRegistry'> │ │
- │ │ config = None │ │
- │ │ repo = <git.repo.base.Repo 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'> │ │
- │ │ tmp_dir = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4' │ │
- │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\contextlib.py:144 in __exit__ │
- │ │
- │ 141 │ def __exit__(self, typ, value, traceback): │
- │ 142 │ │ if typ is None: │
- │ 143 │ │ │ try: │
- │ ❱ 144 │ │ │ │ next(self.gen) │
- │ 145 │ │ │ except StopIteration: │
- │ 146 │ │ │ │ return False │
- │ 147 │ │ │ else: │
- │ │
- │ ╭──────────────────────────────────── locals ────────────────────────────────────╮ │
- │ │ self = <contextlib._GeneratorContextManager object at 0x0000013DE5C95FD0> │ │
- │ │ traceback = None │ │
- │ │ typ = None │ │
- │ │ value = None │ │
- │ ╰────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\git_utils.py:112 in cloned_git_repo │
- │ │
- │ 109 │ git_clone(repo=repo, dir=tmp_dir.name) │
- │ 110 │ yield tmp_dir.name │
- │ 111 │ logging.debug("delete temporary directory %s", tmp_dir) │
- │ ❱ 112 │ tmp_dir.cleanup() │
- │ 113 │
- │ 114 │
- │ 115 def git_clone(repo: str, dir: str) -> None: │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ repo = 'https://<user>:<token>@<repo> │ │
- │ │ tmp_dir = <TemporaryDirectory 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'> │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:908 in cleanup │
- │ │
- │ 905 │ │
- │ 906 │ def cleanup(self): │
- │ 907 │ │ if self._finalizer.detach() or _os.path.exists(self.name): │
- │ ❱ 908 │ │ │ self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors) │
- │ 909 │ │
- │ 910 │ __class_getitem__ = classmethod(_types.GenericAlias) │
- │ 911 │
- │ │
- │ ╭───────────────────────────────────── locals ──────────────────────────────────────╮ │
- │ │ self = <TemporaryDirectory 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4'> │ │
- │ ╰───────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:890 in _rmtree │
- │ │
- │ 887 │ │ │ │ if not ignore_errors: │
- │ 888 │ │ │ │ │ raise │
- │ 889 │ │ │
- │ ❱ 890 │ │ _shutil.rmtree(name, onerror=onerror) │
- │ 891 │ │
- │ 892 │ @classmethod │
- │ 893 │ def _cleanup(cls, name, warn_message, ignore_errors=False): │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ cls = <class 'tempfile.TemporaryDirectory'> │ │
- │ │ ignore_errors = False │ │
- │ │ name = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4' │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:759 in rmtree │
- │ │
- │ 756 │ │ │ onerror(os.path.islink, path, sys.exc_info()) │
- │ 757 │ │ │ # can't continue even if onerror hook returns │
- │ 758 │ │ │ return │
- │ ❱ 759 │ │ return _rmtree_unsafe(path, onerror) │
- │ 760 │
- │ 761 # Allow introspection of whether or not the hardening against symlink │
- │ 762 # attacks is supported on the current platform │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ dir_fd = None │ │
- │ │ ignore_errors = False │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4' │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:617 in _rmtree_unsafe │
- │ │
- │ 614 │ │ │ except OSError: │
- │ 615 │ │ │ │ onerror(os.path.islink, fullname, sys.exc_info()) │
- │ 616 │ │ │ │ continue │
- │ ❱ 617 │ │ │ _rmtree_unsafe(fullname, onerror) │
- │ 618 │ │ else: │
- │ 619 │ │ │ try: │
- │ 620 │ │ │ │ os.unlink(fullname) │
- │ │
- │ ╭───────────────────────────────────────── locals ──────────────────────────────────────────╮ │
- │ │ entries = [ │ │
- │ │ │ <DirEntry '.dvc'>, │ │
- │ │ │ <DirEntry '.dvcignore'>, │ │
- │ │ │ <DirEntry '.git'>, │ │
- │ │ │ <DirEntry 'artifacts.yaml'>, │ │
- │ │ │ <DirEntry 'det-kp'>, │ │
- │ │ │ <DirEntry '<model_name>.pt.dvc'>, │ │
- │ │ │ <DirEntry 'README.md'> │ │
- │ │ ] │ │
- │ │ entry = <DirEntry '.git'> │ │
- │ │ fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git' │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4' │ │
- │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2EDB290> │ │
- │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:617 in _rmtree_unsafe │
- │ │
- │ 614 │ │ │ except OSError: │
- │ 615 │ │ │ │ onerror(os.path.islink, fullname, sys.exc_info()) │
- │ 616 │ │ │ │ continue │
- │ ❱ 617 │ │ │ _rmtree_unsafe(fullname, onerror) │
- │ 618 │ │ else: │
- │ 619 │ │ │ try: │
- │ 620 │ │ │ │ os.unlink(fullname) │
- │ │
- │ ╭───────────────────────────────────────── locals ──────────────────────────────────────────╮ │
- │ │ entries = [ │ │
- │ │ │ <DirEntry 'config'>, │ │
- │ │ │ <DirEntry 'description'>, │ │
- │ │ │ <DirEntry 'HEAD'>, │ │
- │ │ │ <DirEntry 'hooks'>, │ │
- │ │ │ <DirEntry 'index'>, │ │
- │ │ │ <DirEntry 'info'>, │ │
- │ │ │ <DirEntry 'logs'>, │ │
- │ │ │ <DirEntry 'objects'>, │ │
- │ │ │ <DirEntry 'packed-refs'>, │ │
- │ │ │ <DirEntry 'refs'> │ │
- │ │ ] │ │
- │ │ entry = <DirEntry 'objects'> │ │
- │ │ fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects' │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git' │ │
- │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2EDB550> │ │
- │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:617 in _rmtree_unsafe │
- │ │
- │ 614 │ │ │ except OSError: │
- │ 615 │ │ │ │ onerror(os.path.islink, fullname, sys.exc_info()) │
- │ 616 │ │ │ │ continue │
- │ ❱ 617 │ │ │ _rmtree_unsafe(fullname, onerror) │
- │ 618 │ │ else: │
- │ 619 │ │ │ try: │
- │ 620 │ │ │ │ os.unlink(fullname) │
- │ │
- │ ╭───────────────────────────────────────── locals ──────────────────────────────────────────╮ │
- │ │ entries = [<DirEntry 'info'>, <DirEntry 'pack'>] │ │
- │ │ entry = <DirEntry 'pack'> │ │
- │ │ fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack' │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects' │ │
- │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2F65270> │ │
- │ ╰───────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:622 in _rmtree_unsafe │
- │ │
- │ 619 │ │ │ try: │
- │ 620 │ │ │ │ os.unlink(fullname) │
- │ 621 │ │ │ except OSError: │
- │ ❱ 622 │ │ │ │ onerror(os.unlink, fullname, sys.exc_info()) │
- │ 623 │ try: │
- │ 624 │ │ os.rmdir(path) │
- │ 625 │ except OSError: │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ entries = [ │ │
- │ │ │ <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.idx'>, │ │
- │ │ │ <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.pack'> │ │
- │ │ ] │ │
- │ │ entry = <DirEntry 'pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4.idx'> │ │
- │ │ fullname = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pac… │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC4A0> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack' │ │
- │ │ scandir_it = <nt.ScandirIterator object at 0x0000013DE2F65530> │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:881 in onerror │
- │ │
- │ 878 │ │ │ │ │ │ _os.unlink(path) │
- │ 879 │ │ │ │ │ # PermissionError is raised on FreeBSD for directories │
- │ 880 │ │ │ │ │ except (IsADirectoryError, PermissionError): │
- │ ❱ 881 │ │ │ │ │ │ cls._rmtree(path, ignore_errors=ignore_errors) │
- │ 882 │ │ │ │ except FileNotFoundError: │
- │ 883 │ │ │ │ │ pass │
- │ 884 │ │ │ elif issubclass(exc_info[0], FileNotFoundError): │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ cls = <class 'tempfile.TemporaryDirectory'> │ │
- │ │ exc_info = ( │ │
- │ │ │ <class 'PermissionError'>, │ │
- │ │ │ PermissionError(13, 'Access is denied'), │ │
- │ │ │ <traceback object at 0x0000013DE5CC5280> │ │
- │ │ ) │ │
- │ │ func = <built-in function unlink> │ │
- │ │ ignore_errors = False │ │
- │ │ name = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4' │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\… │ │
- │ │ resetperms = <function TemporaryDirectory._rmtree.<locals>.onerror.<locals>.resetperms at │ │
- │ │ 0x0000013DE5CBC5E0> │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\tempfile.py:890 in _rmtree │
- │ │
- │ 887 │ │ │ │ if not ignore_errors: │
- │ 888 │ │ │ │ │ raise │
- │ 889 │ │ │
- │ ❱ 890 │ │ _shutil.rmtree(name, onerror=onerror) │
- │ 891 │ │
- │ 892 │ @classmethod │
- │ 893 │ def _cleanup(cls, name, warn_message, ignore_errors=False): │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ cls = <class 'tempfile.TemporaryDirectory'> │ │
- │ │ ignore_errors = False │ │
- │ │ name = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\… │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC360> │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:759 in rmtree │
- │ │
- │ 756 │ │ │ onerror(os.path.islink, path, sys.exc_info()) │
- │ 757 │ │ │ # can't continue even if onerror hook returns │
- │ 758 │ │ │ return │
- │ ❱ 759 │ │ return _rmtree_unsafe(path, onerror) │
- │ 760 │
- │ 761 # Allow introspection of whether or not the hardening against symlink │
- │ 762 # attacks is supported on the current platform │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ dir_fd = None │ │
- │ │ ignore_errors = False │ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC360> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\… │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:603 in _rmtree_unsafe │
- │ │
- │ 600 │ │ with os.scandir(path) as scandir_it: │
- │ 601 │ │ │ entries = list(scandir_it) │
- │ 602 │ except OSError: │
- │ ❱ 603 │ │ onerror(os.scandir, path, sys.exc_info()) │
- │ 604 │ │ entries = [] │
- │ 605 │ for entry in entries: │
- │ 606 │ │ fullname = entry.path │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC360> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6… │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\shutil.py:600 in _rmtree_unsafe │
- │ │
- │ 597 # version vulnerable to race conditions │
- │ 598 def _rmtree_unsafe(path, onerror): │
- │ 599 │ try: │
- │ ❱ 600 │ │ with os.scandir(path) as scandir_it: │
- │ 601 │ │ │ entries = list(scandir_it) │
- │ 602 │ except OSError: │
- │ 603 │ │ onerror(os.scandir, path, sys.exc_info()) │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ onerror = <function TemporaryDirectory._rmtree.<locals>.onerror at 0x0000013DE5CBC360> │ │
- │ │ path = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6… │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
- NotADirectoryError: [WinError 267] Неверно задано имя папки:
- 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git\\objects\\pack\\pack-6dc6df1f3a7a163b949e78a4c5e50d70f44905d4
- .idx'
- The above exception was the direct cause of the following exception:
- ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\click\decorators.py:26 in new_func │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\cli.py:461 in inner │
- │ │
- │ 458 │ │ │ error = None │
- │ 459 │ │ │ try: │
- │ 460 │ │ │ │ with cli_echo(): │
- │ ❱ 461 │ │ │ │ │ res = f(*iargs, **ikwargs) or {} │
- │ 462 │ │ │ │ res = {f"cmd_{cmd_name}_{k}": v for k, v in res.items()} │
- │ 463 │ │ │ except (ClickException, Exit, Abort) as e: │
- │ 464 │ │ │ │ error = str(type(e)) │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ cmd_name = 'describe' │ │
- │ │ ctx = <click.core.Context object at 0x0000013DE341FF10> │ │
- │ │ error = "<class 'NotADirectoryError'>" │ │
- │ │ f = <function describe at 0x0000013DE5C818A0> │ │
- │ │ iargs = () │ │
- │ │ ikwargs = { │ │
- │ │ │ 'repo': │ │
- │ │ 'https://<user>:<token>@<repo> │ │
- │ │ │ 'name': '<model_name>@latest', │ │
- │ │ │ 'rev': None, │ │
- │ │ │ 'type': False, │ │
- │ │ │ 'path': False, │ │
- │ │ │ 'description': False, │ │
- │ │ │ 'custom': False │ │
- │ │ } │ │
- │ │ res = {} │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\cli.py:590 in describe │
- │ │
- │ 587 │ else: │
- │ 588 │ │ field = None │
- │ 589 │ │
- │ ❱ 590 │ artifact = gto.api.describe(repo=repo, name=name, rev=rev) │
- │ 591 │ if not artifact: │
- │ 592 │ │ return │
- │ 593 │ annotation = artifact.dict(exclude_defaults=True) │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ custom = False │ │
- │ │ description = False │ │
- │ │ field = None │ │
- │ │ name = '<model_name>@latest' │ │
- │ │ path = False │ │
- │ │ repo = 'https://<user>:<token>@<repo> │ │
- │ │ rev = None │ │
- │ │ type = False │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\api.py:108 in describe │
- │ │
- │ 105 │ │ if rev: │
- │ 106 │ │ │ raise WrongArgs("Either specify revision or use naming shortcut.") │
- │ 107 │ │ # clones a remote repo second time, can be optimized │
- │ ❱ 108 │ │ versions = show(repo, name) │
- │ 109 │ │ if len(versions) == 0: # nothing found │
- │ 110 │ │ │ return None │
- │ 111 │ │ if len(versions) > 1: │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ name = '<model_name>@latest' │ │
- │ │ repo = 'https://<user>:<token>@<repo> │ │
- │ │ rev = None │ │
- │ │ shortcut = Shortcut( │ │
- │ │ │ name='<model_name>', │ │
- │ │ │ stage=None, │ │
- │ │ │ version=None, │ │
- │ │ │ latest=True, │ │
- │ │ │ shortcut=True │ │
- │ │ ) │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\api.py:343 in show │
- │ │
- │ 340 │ table: bool = False, │
- │ 341 ): │
- │ 342 │ return ( │
- │ ❱ 343 │ │ _show_versions( │
- │ 344 │ │ │ repo, │
- │ 345 │ │ │ name=name, │
- │ 346 │ │ │ all_branches=all_branches, │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ all_branches = False │ │
- │ │ all_commits = False │ │
- │ │ assignments_per_version = -1 │ │
- │ │ deprecated = False │ │
- │ │ name = '<model_name>@latest' │ │
- │ │ registered_only = False │ │
- │ │ repo = 'https://<user>:<token>@<repo> │ │
- │ │ sort = <VersionSort.Timestamp: 'timestamp'> │ │
- │ │ table = False │ │
- │ │ truncate_hexsha = False │ │
- │ │ versions_per_stage = 1 │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\api.py:462 in _show_versions │
- │ │
- │ 459 │ │
- │ 460 │ shortcut = parse_shortcut(name) │
- │ 461 │ │
- │ ❱ 462 │ with GitRegistry.from_repo(repo=repo) as reg: │
- │ 463 │ │ if raw: │
- │ 464 │ │ │ return reg.find_artifact(shortcut.name).versions │
- │ 465 │
- │ │
- │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
- │ │ all_branches = False │ │
- │ │ all_commits = False │ │
- │ │ artifact = Artifact( │ │
- │ │ │ artifact='<model_name>', │ │
- │ │ │ versions=[ │ │
- │ │ │ │ Version( │ │
- │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │
- │ │ commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822', │ │
- │ │ │ │ │ version='v0.0.3', │ │
- │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ Commit( │ │
- │ │ │ │ │ │ │ priority=0, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 13, │ │
- │ │ 30, 3), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='registry: pushed model │ │
- │ │ <model_name>_1679912908.pt', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822', │ │
- │ │ │ │ │ │ │ version='v0.0.3', │ │
- │ │ │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ │ │ GTOInfo( │ │
- │ │ │ │ │ │ │ │ │ source='gto', │ │
- │ │ │ │ │ │ │ │ │ artifact=Artifact( │ │
- │ │ │ │ │ │ │ │ │ │ type=None, │ │
- │ │ │ │ │ │ │ │ │ │ │ │
- │ │ path='<model_path><model_name>_1679912908.pt', │ │
- │ │ │ │ │ │ │ │ │ │ virtual=True, │ │
- │ │ │ │ │ │ │ │ │ │ labels=[], │ │
- │ │ │ │ │ │ │ │ │ │ description='', │ │
- │ │ │ │ │ │ │ │ │ │ custom=None │ │
- │ │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ committer='<name>', │ │
- │ │ │ │ │ │ │ committer_email='<email>' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ registrations=[ │ │
- │ │ │ │ │ │ Registration( │ │
- │ │ │ │ │ │ │ priority=3, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 13, │ │
- │ │ 30, 7), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='Registering artifact │ │
- │ │ <model_name> version v0.0.3', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822', │ │
- │ │ │ │ │ │ │ tag='<model_name>@v0.0.3', │ │
- │ │ │ │ │ │ │ version='v0.0.3' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ deregistrations=[], │ │
- │ │ │ │ │ stages={ │ │
- │ │ │ │ │ │ 'staging': VStage( │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822', │ │
- │ │ │ │ │ │ │ version='v0.0.3', │ │
- │ │ │ │ │ │ │ stage='staging', │ │
- │ │ │ │ │ │ │ assignments=[ │ │
- │ │ │ │ │ │ │ │ Assignment( │ │
- │ │ │ │ │ │ │ │ │ priority=5, │ │
- │ │ │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, │ │
- │ │ 27, 13, 30, 11), │ │
- │ │ │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ │ │ message='Assigning stage staging to │ │
- │ │ artifact <model_name> version v0.0.3', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='a6b192e4bfd298c0f51e98cf76de59bd29361822', │ │
- │ │ │ │ │ │ │ │ │ tag='<model_name>#staging#2', │ │
- │ │ │ │ │ │ │ │ │ version='v0.0.3', │ │
- │ │ │ │ │ │ │ │ │ stage='staging' │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ unassignments=[] │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ } │ │
- │ │ │ │ ), │ │
- │ │ │ │ Version( │ │
- │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │
- │ │ commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7', │ │
- │ │ │ │ │ version='v0.0.4', │ │
- │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ Commit( │ │
- │ │ │ │ │ │ │ priority=0, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 13, │ │
- │ │ 33, 13), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='registry: pushed model │ │
- │ │ <model_name>_1679913108.pt', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7', │ │
- │ │ │ │ │ │ │ version='v0.0.4', │ │
- │ │ │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ │ │ GTOInfo( │ │
- │ │ │ │ │ │ │ │ │ source='gto', │ │
- │ │ │ │ │ │ │ │ │ artifact=Artifact( │ │
- │ │ │ │ │ │ │ │ │ │ type=None, │ │
- │ │ │ │ │ │ │ │ │ │ │ │
- │ │ path='<model_path><model_name>_1679913108.pt', │ │
- │ │ │ │ │ │ │ │ │ │ virtual=True, │ │
- │ │ │ │ │ │ │ │ │ │ labels=[], │ │
- │ │ │ │ │ │ │ │ │ │ description='', │ │
- │ │ │ │ │ │ │ │ │ │ custom=None │ │
- │ │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ committer='<name>', │ │
- │ │ │ │ │ │ │ committer_email='<email>' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ registrations=[ │ │
- │ │ │ │ │ │ Registration( │ │
- │ │ │ │ │ │ │ priority=3, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 13, │ │
- │ │ 33, 17), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='Registering artifact │ │
- │ │ <model_name> version v0.0.4', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7', │ │
- │ │ │ │ │ │ │ tag='<model_name>@v0.0.4', │ │
- │ │ │ │ │ │ │ version='v0.0.4' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ deregistrations=[], │ │
- │ │ │ │ │ stages={ │ │
- │ │ │ │ │ │ 'staging': VStage( │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7', │ │
- │ │ │ │ │ │ │ version='v0.0.4', │ │
- │ │ │ │ │ │ │ stage='staging', │ │
- │ │ │ │ │ │ │ assignments=[ │ │
- │ │ │ │ │ │ │ │ Assignment( │ │
- │ │ │ │ │ │ │ │ │ priority=5, │ │
- │ │ │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, │ │
- │ │ 27, 13, 33, 21), │ │
- │ │ │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ │ │ message='Assigning stage staging to │ │
- │ │ artifact <model_name> version v0.0.4', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='948ca4487ebcfb50aa3900f9f843b061248bb7a7', │ │
- │ │ │ │ │ │ │ │ │ tag='<model_name>#staging#3', │ │
- │ │ │ │ │ │ │ │ │ version='v0.0.4', │ │
- │ │ │ │ │ │ │ │ │ stage='staging' │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ unassignments=[] │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ } │ │
- │ │ │ │ ), │ │
- │ │ │ │ Version( │ │
- │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │
- │ │ commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c', │ │
- │ │ │ │ │ version='v0.0.5', │ │
- │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ Commit( │ │
- │ │ │ │ │ │ │ priority=0, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 13, │ │
- │ │ 35, 20), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='registry: pushed model │ │
- │ │ <model_name>_1679913236.pt', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c', │ │
- │ │ │ │ │ │ │ version='v0.0.5', │ │
- │ │ │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ │ │ GTOInfo( │ │
- │ │ │ │ │ │ │ │ │ source='gto', │ │
- │ │ │ │ │ │ │ │ │ artifact=Artifact( │ │
- │ │ │ │ │ │ │ │ │ │ type=None, │ │
- │ │ │ │ │ │ │ │ │ │ │ │
- │ │ path='<model_path>/<model_name>.pt', │ │
- │ │ │ │ │ │ │ │ │ │ virtual=True, │ │
- │ │ │ │ │ │ │ │ │ │ labels=[], │ │
- │ │ │ │ │ │ │ │ │ │ description='', │ │
- │ │ │ │ │ │ │ │ │ │ custom=None │ │
- │ │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ committer='<name>', │ │
- │ │ │ │ │ │ │ committer_email='<email>' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ registrations=[ │ │
- │ │ │ │ │ │ Registration( │ │
- │ │ │ │ │ │ │ priority=3, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 13, │ │
- │ │ 35, 25), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='Registering artifact │ │
- │ │ <model_name> version v0.0.5', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c', │ │
- │ │ │ │ │ │ │ tag='<model_name>@v0.0.5', │ │
- │ │ │ │ │ │ │ version='v0.0.5' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ deregistrations=[], │ │
- │ │ │ │ │ stages={ │ │
- │ │ │ │ │ │ 'staging': VStage( │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c', │ │
- │ │ │ │ │ │ │ version='v0.0.5', │ │
- │ │ │ │ │ │ │ stage='staging', │ │
- │ │ │ │ │ │ │ assignments=[ │ │
- │ │ │ │ │ │ │ │ Assignment( │ │
- │ │ │ │ │ │ │ │ │ priority=5, │ │
- │ │ │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, │ │
- │ │ 27, 13, 35, 29), │ │
- │ │ │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ │ │ message='Assigning stage staging to │ │
- │ │ artifact <model_name> version v0.0.5', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='db07c279c2f670e167988e2cfac366af81e40e4c', │ │
- │ │ │ │ │ │ │ │ │ tag='<model_name>#staging#4', │ │
- │ │ │ │ │ │ │ │ │ version='v0.0.5', │ │
- │ │ │ │ │ │ │ │ │ stage='staging' │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ unassignments=[] │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ } │ │
- │ │ │ │ ), │ │
- │ │ │ │ Version( │ │
- │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │
- │ │ commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66', │ │
- │ │ │ │ │ version='v0.0.6', │ │
- │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ Commit( │ │
- │ │ │ │ │ │ │ priority=0, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 13, │ │
- │ │ 39, 15), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='registry: pushed model │ │
- │ │ <model_name>.pt', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66', │ │
- │ │ │ │ │ │ │ version='v0.0.6', │ │
- │ │ │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ │ │ GTOInfo( │ │
- │ │ │ │ │ │ │ │ │ source='gto', │ │
- │ │ │ │ │ │ │ │ │ artifact=Artifact( │ │
- │ │ │ │ │ │ │ │ │ │ type=None, │ │
- │ │ │ │ │ │ │ │ │ │ │ │
- │ │ path='<model_path><model_name>.pt', │ │
- │ │ │ │ │ │ │ │ │ │ virtual=True, │ │
- │ │ │ │ │ │ │ │ │ │ labels=[], │ │
- │ │ │ │ │ │ │ │ │ │ description='', │ │
- │ │ │ │ │ │ │ │ │ │ custom=None │ │
- │ │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ committer='<name>', │ │
- │ │ │ │ │ │ │ committer_email='<email>' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ registrations=[ │ │
- │ │ │ │ │ │ Registration( │ │
- │ │ │ │ │ │ │ priority=3, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 13, │ │
- │ │ 39, 20), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='Registering artifact │ │
- │ │ <model_name> version v0.0.6', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66', │ │
- │ │ │ │ │ │ │ tag='<model_name>@v0.0.6', │ │
- │ │ │ │ │ │ │ version='v0.0.6' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ deregistrations=[], │ │
- │ │ │ │ │ stages={ │ │
- │ │ │ │ │ │ 'staging': VStage( │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66', │ │
- │ │ │ │ │ │ │ version='v0.0.6', │ │
- │ │ │ │ │ │ │ stage='staging', │ │
- │ │ │ │ │ │ │ assignments=[ │ │
- │ │ │ │ │ │ │ │ Assignment( │ │
- │ │ │ │ │ │ │ │ │ priority=5, │ │
- │ │ │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, │ │
- │ │ 27, 13, 39, 24), │ │
- │ │ │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ │ │ message='Assigning stage staging to │ │
- │ │ artifact <model_name> version v0.0.6', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='89ba9aee28b6a943e593196736dab85e47c76c66', │ │
- │ │ │ │ │ │ │ │ │ tag='<model_name>#staging#5', │ │
- │ │ │ │ │ │ │ │ │ version='v0.0.6', │ │
- │ │ │ │ │ │ │ │ │ stage='staging' │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ unassignments=[] │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ } │ │
- │ │ │ │ ), │ │
- │ │ │ │ Version( │ │
- │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │
- │ │ commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245', │ │
- │ │ │ │ │ version='v0.0.7', │ │
- │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ Commit( │ │
- │ │ │ │ │ │ │ priority=0, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 14, │ │
- │ │ 5, 4), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='registry: pushed model │ │
- │ │ <model_name>.pt', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245', │ │
- │ │ │ │ │ │ │ version='v0.0.7', │ │
- │ │ │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ │ │ GTOInfo( │ │
- │ │ │ │ │ │ │ │ │ source='gto', │ │
- │ │ │ │ │ │ │ │ │ artifact=Artifact( │ │
- │ │ │ │ │ │ │ │ │ │ type=None, │ │
- │ │ │ │ │ │ │ │ │ │ │ │
- │ │ path='<model_path><model_name>.pt', │ │
- │ │ │ │ │ │ │ │ │ │ virtual=True, │ │
- │ │ │ │ │ │ │ │ │ │ labels=[], │ │
- │ │ │ │ │ │ │ │ │ │ description='', │ │
- │ │ │ │ │ │ │ │ │ │ custom=None │ │
- │ │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ committer='<name>', │ │
- │ │ │ │ │ │ │ committer_email='<email>' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ registrations=[ │ │
- │ │ │ │ │ │ Registration( │ │
- │ │ │ │ │ │ │ priority=3, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 14, │ │
- │ │ 5, 9), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='Registering artifact │ │
- │ │ <model_name> version v0.0.7', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245', │ │
- │ │ │ │ │ │ │ tag='<model_name>@v0.0.7', │ │
- │ │ │ │ │ │ │ version='v0.0.7' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ deregistrations=[], │ │
- │ │ │ │ │ stages={ │ │
- │ │ │ │ │ │ 'staging': VStage( │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245', │ │
- │ │ │ │ │ │ │ version='v0.0.7', │ │
- │ │ │ │ │ │ │ stage='staging', │ │
- │ │ │ │ │ │ │ assignments=[ │ │
- │ │ │ │ │ │ │ │ Assignment( │ │
- │ │ │ │ │ │ │ │ │ priority=5, │ │
- │ │ │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, │ │
- │ │ 27, 14, 5, 14), │ │
- │ │ │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ │ │ message='Assigning stage staging to │ │
- │ │ artifact <model_name> version v0.0.7', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='5df3f6a208d95e9f4ada019ee20ecebe19bc9245', │ │
- │ │ │ │ │ │ │ │ │ tag='<model_name>#staging#6', │ │
- │ │ │ │ │ │ │ │ │ version='v0.0.7', │ │
- │ │ │ │ │ │ │ │ │ stage='staging' │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ unassignments=[] │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ } │ │
- │ │ │ │ ), │ │
- │ │ │ │ Version( │ │
- │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │
- │ │ commit_hexsha='067598369fefe10330ae336f56a1768a1e504955', │ │
- │ │ │ │ │ version='v0.0.8', │ │
- │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ Commit( │ │
- │ │ │ │ │ │ │ priority=0, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 14, │ │
- │ │ 9, 32), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='registry: pushed model │ │
- │ │ <model_name>_1679915292.pt', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='067598369fefe10330ae336f56a1768a1e504955', │ │
- │ │ │ │ │ │ │ version='v0.0.8', │ │
- │ │ │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ │ │ GTOInfo( │ │
- │ │ │ │ │ │ │ │ │ source='gto', │ │
- │ │ │ │ │ │ │ │ │ artifact=Artifact( │ │
- │ │ │ │ │ │ │ │ │ │ type=None, │ │
- │ │ │ │ │ │ │ │ │ │ │ │
- │ │ path='<model_path><model_name>_1679915292.pt', │ │
- │ │ │ │ │ │ │ │ │ │ virtual=True, │ │
- │ │ │ │ │ │ │ │ │ │ labels=[], │ │
- │ │ │ │ │ │ │ │ │ │ description='', │ │
- │ │ │ │ │ │ │ │ │ │ custom=None │ │
- │ │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ committer='<name>', │ │
- │ │ │ │ │ │ │ committer_email='<email>' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ registrations=[ │ │
- │ │ │ │ │ │ Registration( │ │
- │ │ │ │ │ │ │ priority=3, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 14, │ │
- │ │ 9, 36), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='Registering artifact │ │
- │ │ <model_name> version v0.0.8', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='067598369fefe10330ae336f56a1768a1e504955', │ │
- │ │ │ │ │ │ │ tag='<model_name>@v0.0.8', │ │
- │ │ │ │ │ │ │ version='v0.0.8' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ deregistrations=[], │ │
- │ │ │ │ │ stages={ │ │
- │ │ │ │ │ │ 'staging': VStage( │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='067598369fefe10330ae336f56a1768a1e504955', │ │
- │ │ │ │ │ │ │ version='v0.0.8', │ │
- │ │ │ │ │ │ │ stage='staging', │ │
- │ │ │ │ │ │ │ assignments=[ │ │
- │ │ │ │ │ │ │ │ Assignment( │ │
- │ │ │ │ │ │ │ │ │ priority=5, │ │
- │ │ │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, │ │
- │ │ 27, 14, 9, 41), │ │
- │ │ │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ │ │ message='Assigning stage staging to │ │
- │ │ artifact <model_name> version v0.0.8', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='067598369fefe10330ae336f56a1768a1e504955', │ │
- │ │ │ │ │ │ │ │ │ tag='<model_name>#staging#7', │ │
- │ │ │ │ │ │ │ │ │ version='v0.0.8', │ │
- │ │ │ │ │ │ │ │ │ stage='staging' │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ unassignments=[] │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ } │ │
- │ │ │ │ ), │ │
- │ │ │ │ Version( │ │
- │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │
- │ │ commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270', │ │
- │ │ │ │ │ version='v0.0.9', │ │
- │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ Commit( │ │
- │ │ │ │ │ │ │ priority=0, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 14, │ │
- │ │ 10, 27), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='registry: pushed model │ │
- │ │ <model_name>.pt', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270', │ │
- │ │ │ │ │ │ │ version='v0.0.9', │ │
- │ │ │ │ │ │ │ enrichments=[ │ │
- │ │ │ │ │ │ │ │ GTOInfo( │ │
- │ │ │ │ │ │ │ │ │ source='gto', │ │
- │ │ │ │ │ │ │ │ │ artifact=Artifact( │ │
- │ │ │ │ │ │ │ │ │ │ type=None, │ │
- │ │ │ │ │ │ │ │ │ │ │ │
- │ │ path='<model_path><model_name>.pt', │ │
- │ │ │ │ │ │ │ │ │ │ virtual=True, │ │
- │ │ │ │ │ │ │ │ │ │ labels=[], │ │
- │ │ │ │ │ │ │ │ │ │ description='', │ │
- │ │ │ │ │ │ │ │ │ │ custom=None │ │
- │ │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ committer='<name>', │ │
- │ │ │ │ │ │ │ committer_email='<email>' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ registrations=[ │ │
- │ │ │ │ │ │ Registration( │ │
- │ │ │ │ │ │ │ priority=3, │ │
- │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, 27, 14, │ │
- │ │ 10, 31), │ │
- │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ message='Registering artifact │ │
- │ │ <model_name> version v0.0.9', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270', │ │
- │ │ │ │ │ │ │ tag='<model_name>@v0.0.9', │ │
- │ │ │ │ │ │ │ version='v0.0.9' │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ ], │ │
- │ │ │ │ │ deregistrations=[], │ │
- │ │ │ │ │ stages={ │ │
- │ │ │ │ │ │ 'staging': VStage( │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270', │ │
- │ │ │ │ │ │ │ version='v0.0.9', │ │
- │ │ │ │ │ │ │ stage='staging', │ │
- │ │ │ │ │ │ │ assignments=[ │ │
- │ │ │ │ │ │ │ │ Assignment( │ │
- │ │ │ │ │ │ │ │ │ priority=5, │ │
- │ │ │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, │ │
- │ │ 27, 14, 10, 36), │ │
- │ │ │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ │ │ message='Assigning stage staging to │ │
- │ │ artifact <model_name> version v0.0.9', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270', │ │
- │ │ │ │ │ │ │ │ │ tag='<model_name>#staging#8', │ │
- │ │ │ │ │ │ │ │ │ version='v0.0.9', │ │
- │ │ │ │ │ │ │ │ │ stage='staging' │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ unassignments=[] │ │
- │ │ │ │ │ │ ), │ │
- │ │ │ │ │ │ 'production': VStage( │ │
- │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270', │ │
- │ │ │ │ │ │ │ version='v0.0.9', │ │
- │ │ │ │ │ │ │ stage='production', │ │
- │ │ │ │ │ │ │ assignments=[ │ │
- │ │ │ │ │ │ │ │ Assignment( │ │
- │ │ │ │ │ │ │ │ │ priority=5, │ │
- │ │ │ │ │ │ │ │ │ addition=True, │ │
- │ │ │ │ │ │ │ │ │ artifact='<model_name>', │ │
- │ │ │ │ │ │ │ │ │ created_at=datetime.datetime(2023, 3, │ │
- │ │ 27, 14, 14, 57), │ │
- │ │ │ │ │ │ │ │ │ author='<name>', │ │
- │ │ │ │ │ │ │ │ │ author_email='<email>', │ │
- │ │ │ │ │ │ │ │ │ message='Assigning stage production to │ │
- │ │ artifact <model_name> version v0.0.9', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ commit_hexsha='110afd2547c70edf4ba4918d8867ec4040799270', │ │
- │ │ │ │ │ │ │ │ │ │ │
- │ │ tag='<model_name>#production#9', │ │
- │ │ │ │ │ │ │ │ │ version='v0.0.9', │ │
- │ │ │ │ │ │ │ │ │ stage='production' │ │
- │ │ │ │ │ │ │ │ ) │ │
- │ │ │ │ │ │ │ ], │ │
- │ │ │ │ │ │ │ unassignments=[] │ │
- │ │ │ │ │ │ ) │ │
- │ │ │ │ │ } │ │
- │ │ │ │ ) │ │
- │ │ │ ], │ │
- │ │ │ creations=[], │ │
- │ │ │ deprecations=[] │ │
- │ │ ) │ │
- │ │ assignments_per_version = -1 │ │
- │ │ deprecated = False │ │
- │ │ format_hexsha = <function _show_versions.<locals>.format_hexsha at │ │
- │ │ 0x0000013DE5C83B00> │ │
- │ │ name = '<model_name>@latest' │ │
- │ │ raw = False │ │
- │ │ reg = GitRegistry( │ │
- │ │ │ repo=<git.repo.base.Repo │ │
- │ │ 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>, │ │
- │ │ │ artifact_manager=TagArtifactManager( │ │
- │ │ │ │ repo=<git.repo.base.Repo │ │
- │ │ 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>, │ │
- │ │ │ │ actions=frozenset({ │ │
- │ │ │ │ │ <Action.CREATE: 'create'>, │ │
- │ │ │ │ │ <Action.DEPRECATE: 'deprecate'> │ │
- │ │ │ │ }), │ │
- │ │ │ │ config=RegistryConfig( │ │
- │ │ │ │ │ INDEX='artifacts.yaml', │ │
- │ │ │ │ │ TYPES=None, │ │
- │ │ │ │ │ STAGES=None, │ │
- │ │ │ │ │ LOG_LEVEL='INFO', │ │
- │ │ │ │ │ DEBUG=False, │ │
- │ │ │ │ │ ENRICHMENTS=[], │ │
- │ │ │ │ │ AUTOLOAD_ENRICHMENTS=True, │ │
- │ │ │ │ │ │ │
- │ │ CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
- │ │ │ │ │ EMOJIS=True │ │
- │ │ │ │ ) │ │
- │ │ │ ), │ │
- │ │ │ version_manager=TagVersionManager( │ │
- │ │ │ │ repo=<git.repo.base.Repo │ │
- │ │ 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>, │ │
- │ │ │ │ actions=frozenset({ │ │
- │ │ │ │ │ <Action.REGISTER: 'register'>, │ │
- │ │ │ │ │ <Action.DEREGISTER: 'deregister'> │ │
- │ │ │ │ }), │ │
- │ │ │ │ config=RegistryConfig( │ │
- │ │ │ │ │ INDEX='artifacts.yaml', │ │
- │ │ │ │ │ TYPES=None, │ │
- │ │ │ │ │ STAGES=None, │ │
- │ │ │ │ │ LOG_LEVEL='INFO', │ │
- │ │ │ │ │ DEBUG=False, │ │
- │ │ │ │ │ ENRICHMENTS=[], │ │
- │ │ │ │ │ AUTOLOAD_ENRICHMENTS=True, │ │
- │ │ │ │ │ │ │
- │ │ CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
- │ │ │ │ │ EMOJIS=True │ │
- │ │ │ │ ) │ │
- │ │ │ ), │ │
- │ │ │ stage_manager=TagStageManager( │ │
- │ │ │ │ repo=<git.repo.base.Repo │ │
- │ │ 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>, │ │
- │ │ │ │ actions=frozenset({ │ │
- │ │ │ │ │ <Action.ASSIGN: 'assign'>, │ │
- │ │ │ │ │ <Action.UNASSIGN: 'unassign'> │ │
- │ │ │ │ }), │ │
- │ │ │ │ config=RegistryConfig( │ │
- │ │ │ │ │ INDEX='artifacts.yaml', │ │
- │ │ │ │ │ TYPES=None, │ │
- │ │ │ │ │ STAGES=None, │ │
- │ │ │ │ │ LOG_LEVEL='INFO', │ │
- │ │ │ │ │ DEBUG=False, │ │
- │ │ │ │ │ ENRICHMENTS=[], │ │
- │ │ │ │ │ AUTOLOAD_ENRICHMENTS=True, │ │
- │ │ │ │ │ │ │
- │ │ CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
- │ │ │ │ │ EMOJIS=True │ │
- │ │ │ │ ) │ │
- │ │ │ ), │ │
- │ │ │ enrichment_manager=EnrichmentManager( │ │
- │ │ │ │ repo=<git.repo.base.Repo │ │
- │ │ 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'>, │ │
- │ │ │ │ actions=frozenset(), │ │
- │ │ │ │ config=RegistryConfig( │ │
- │ │ │ │ │ INDEX='artifacts.yaml', │ │
- │ │ │ │ │ TYPES=None, │ │
- │ │ │ │ │ STAGES=None, │ │
- │ │ │ │ │ LOG_LEVEL='INFO', │ │
- │ │ │ │ │ DEBUG=False, │ │
- │ │ │ │ │ ENRICHMENTS=[], │ │
- │ │ │ │ │ AUTOLOAD_ENRICHMENTS=True, │ │
- │ │ │ │ │ │ │
- │ │ CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
- │ │ │ │ │ EMOJIS=True │ │
- │ │ │ │ ) │ │
- │ │ │ ), │ │
- │ │ │ config=RegistryConfig( │ │
- │ │ │ │ INDEX='artifacts.yaml', │ │
- │ │ │ │ TYPES=None, │ │
- │ │ │ │ STAGES=None, │ │
- │ │ │ │ LOG_LEVEL='INFO', │ │
- │ │ │ │ DEBUG=False, │ │
- │ │ │ │ ENRICHMENTS=[], │ │
- │ │ │ │ AUTOLOAD_ENRICHMENTS=True, │ │
- │ │ │ │ │ │
- │ │ CONFIG_FILE_NAME='C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292f… │ │
- │ │ │ │ EMOJIS=True │ │
- │ │ │ ) │ │
- │ │ ) │ │
- │ │ registered_only = False │ │
- │ │ repo = 'https://<user>:<token>@<repo> │ │
- │ │ shortcut = Shortcut( │ │
- │ │ │ name='<model_name>', │ │
- │ │ │ stage=None, │ │
- │ │ │ version=None, │ │
- │ │ │ latest=True, │ │
- │ │ │ shortcut=True │ │
- │ │ ) │ │
- │ │ sort = <VersionSort.Timestamp: 'timestamp'> │ │
- │ │ table = False │ │
- │ │ truncate_hexsha = False │ │
- │ │ versions_per_stage = 1 │ │
- │ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\contextlib.py:144 in __exit__ │
- │ │
- │ 141 │ def __exit__(self, typ, value, traceback): │
- │ 142 │ │ if typ is None: │
- │ 143 │ │ │ try: │
- │ ❱ 144 │ │ │ │ next(self.gen) │
- │ 145 │ │ │ except StopIteration: │
- │ 146 │ │ │ │ return False │
- │ 147 │ │ │ else: │
- │ │
- │ ╭──────────────────────────────────── locals ────────────────────────────────────╮ │
- │ │ self = <contextlib._GeneratorContextManager object at 0x0000013DE5C95210> │ │
- │ │ traceback = None │ │
- │ │ typ = None │ │
- │ │ value = None │ │
- │ ╰────────────────────────────────────────────────────────────────────────────────╯ │
- │ │
- │ C:\Users\<user>\miniconda3\envs\py311\Lib\site-packages\gto\git_utils.py:33 in from_repo │
- │ │
- │ 30 │ │ │ │ │ repo.git.checkout(branch) │
- │ 31 │ │ │ │ │ yield cls.from_local_repo(repo=repo, config=config) │
- │ 32 │ │ │ except (NotADirectoryError, PermissionError) as e: │
- │ ❱ 33 │ │ │ │ raise e.__class__( │
- │ 34 │ │ │ │ │ "Are you using windows with python < 3.9? " │
- │ 35 │ │ │ │ │ "This may be the reason of this error: https://bugs.python.org/issue │
- │ 36 │ │ │ │ │ "Consider upgrading python." │
- │ │
- │ ╭────────────────────────────────────────── locals ──────────────────────────────────────────╮ │
- │ │ branch = None │ │
- │ │ cls = <class 'gto.registry.GitRegistry'> │ │
- │ │ config = None │ │
- │ │ repo = <git.repo.base.Repo 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4\\.git'> │ │
- │ │ tmp_dir = 'C:\\Users\\<user>\\AppData\\Local\\Temp\\tmp292fz0t4' │ │
- │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯ │
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
- NotADirectoryError: Are you using windows with python < 3.9? This may be the reason of this error:
- https://bugs.python.org/issue42796. Consider upgrading python.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement