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

Function importable

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

get an importable string (i.e. source code or the import string) for the given object, including any required objects from the enclosing and global scope This function will attempt to discover the name of the object, or the repr of the object, or the source code for the object. To a

(obj, alias='', source=None, builtin=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

dump_sourceFunction · 0.85
dumpIO_sourceFunction · 0.85
_closuredsourceFunction · 0.85
getimportableFunction · 0.85

Calls 13

isfrommainFunction · 0.85
_isinstanceFunction · 0.85
_importableFunction · 0.85
_closuredimportFunction · 0.85
_closuredsourceFunction · 0.85
_code_stitcherFunction · 0.85
globalvarsFunction · 0.85
getsourceFunction · 0.85
valuesMethod · 0.80
popMethod · 0.80
appendMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected