Pyright return an error with wb.active.rows
Good day!
When Im using workbook active sheet raws iterator: .rows
or .iter_rows()
,
pyright return an error: annot access member "rows" for type " WorkbookChild"
Its present with Sublime and NVim.
❯ python3 -m platform
macOS-13.4.1-arm64-arm-64bit
❯ python3 -c "import openpyxl; print(openpyxl.__version__)"
3.1.2
wb = load_workbook(file)
sh = wb.active
for row in sh.rows: # <<< Error
# Cannot access member "rows" for type " WorkbookChild"
# Member "rows" is unknown Pyright (reportGeneralTypeIssues)
dt = [cel.value for cel in row]