MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / _getimport

Function _getimport

embedded/site-packages/dill/source.py:670–713  ·  view source on GitHub ↗

helper to build a likely import string from head and tail of namespace. ('head','tail') are used in the following context: "from head import tail" If verify=True, then test the import string before returning it. If builtin=True, then force an import for builtins where possible. If a

(head, tail, alias='', verify=True, builtin=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

getimportFunction · 0.85
_closuredimportFunction · 0.85
_likely_importFunction · 0.85

Calls 1

_intypesFunction · 0.85

Tested by

no test coverage detected