API reference
python:irx:irx.analysis.session._module_import_specifier
function _module_import_specifier
_module_import_specifier(node: astx.ImportFromStmt) -> str
Source: packages/irx/src/irx/analysis/session.py:30
Return the resolver-facing module specifier for import-from nodes.
Reconstruct the raw module specifier string that should be handed back to the host resolver for a from-import statement.
Parameters
- node — Type: astx.ImportFromStmt
Returns
Type: str