27 lines
622 B
Python
27 lines
622 B
Python
# Copyright (c) ModelScope Contributors. All rights reserved.
|
|
from typing import TYPE_CHECKING
|
|
|
|
from swift.utils.import_utils import _LazyModule
|
|
|
|
if TYPE_CHECKING:
|
|
from .orm import ORM, AsyncORM, orms
|
|
from .prm import PRM, prms
|
|
from .rm_plugin import rm_plugins
|
|
|
|
else:
|
|
_import_structure = {
|
|
'prm': ['prms', 'PRM'],
|
|
'orm': ['orms', 'ORM', 'AsyncORM'],
|
|
'rm_plugin': ['rm_plugins'],
|
|
}
|
|
|
|
import sys
|
|
|
|
sys.modules[__name__] = _LazyModule(
|
|
__name__,
|
|
globals()['__file__'],
|
|
_import_structure,
|
|
module_spec=__spec__,
|
|
extra_objects={},
|
|
)
|