You are viewing an older version (9.13.0).Go to latest (9.17.0)
{ } Raw JSON

bundles / IPython 9.13.0 / IPython / core / guarded_eval / _get_external

function

IPython.core.guarded_eval:_get_external

source: /IPython/core/guarded_eval.py:127

Signature

def _get_external(module_name: str, access_path: Sequence[str])

Summary

Get value from external module given a dotted access path.

Extended Summary

Only gets value if the module is already imported.

Raises: * KeyError if module is removed not found, and * AttributeError if access path does not match an exported object

Aliases

  • IPython.core.guarded_eval._get_external