MCPcopy Index your code
hub / github.com/modelscope/modelscope / get_ast_index

Method get_ast_index

modelscope/utils/import_utils.py:502–505  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

500
501 @staticmethod
502 def get_ast_index():
503 if LazyImportModule._AST_INDEX is None:
504 LazyImportModule._AST_INDEX = load_index()
505 return LazyImportModule._AST_INDEX
506
507 @staticmethod
508 def import_module(signature):

Callers 4

_get_moduleMethod · 0.95
import_moduleMethod · 0.80
can_load_by_msFunction · 0.80
builder.pyFile · 0.80

Calls 1

load_indexFunction · 0.90

Tested by

no test coverage detected