monaco-definition-provider - v2.0.0
    Preparing search index...

    Function resolvePythonImport

    • Resolve a Python import path to candidate file URIs.

      Parameters

      • importPath: string

        Dotted module path as written in source. Leading dots denote relative imports: ".utils", "..pkg.mod", ".".

      • fromUri: string

        URI of the file containing the import.

      • roots: string[] = []

        Base URIs to resolve absolute (non-relative) imports against.

      Returns string[]

      Candidate URIs in priority order (module file before package init).