API reference
python:arx:arx.main.FileImportResolver.resolve
method resolve
resolve(requesting_module_key: str, import_node: astx.ImportStmt | astx.ImportFromStmt, requested_specifier: str) -> ParsedModule
Source: packages/arx/src/arx/main.py:764
Resolve one import and let expected host failures be wrapped.
Parameters
-
requesting_module_key โ Requesting module key.; Type: str
-
import_node โ Import node.; Type: astx.ImportStmt | astx.ImportFromStmt
-
requested_specifier โ Import specifier requested by the source module.; Type: str
Returns
Resolved one import and let expected host failures be wrapped.; Type: ParsedModule