Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /opt/cloudlinux/venv/lib64/python3.11/site-packages/git/objects/ |
""" Import all submodules main classes into the package space """ # flake8: noqa import inspect from .base import * from .blob import * from .commit import * from .submodule import util as smutil from .submodule.base import * from .submodule.root import * from .tag import * from .tree import * # Fix import dependency - add IndexObject to the util module, so that it can be # imported by the submodule.base smutil.IndexObject = IndexObject # type: ignore[attr-defined] smutil.Object = Object # type: ignore[attr-defined] del smutil # must come after submodule was made available __all__ = [name for name, obj in locals().items() if not (name.startswith("_") or inspect.ismodule(obj))]