Skip to content

openpyxl - missing subpackages when importing main module #14246

Closed as not planned
@Andrej730

Description

@Andrej730

Consider the snippet below - it shows typing errors, though works fine on runtime.

Related file - https://github.com/python/typeshed/blob/main/stubs/openpyxl/openpyxl/__init__.pyi

import openpyxl

# "cell" is not a known attribute of module "openpyxl"
print(openpyxl.cell)
# "utils" is not a known attribute of module "openpyxl"
print(openpyxl.utils)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions