You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ew.py
c:\Code\pandas-stubs\ew.py:5:50 - error: Argument of type "Literal['xlsxwriter']" cannot be assigned to parameter "engine" of type "Literal['auto', 'openpyxl', 'pyxlsb', 'odf'] | None" in function "__init__"
Type "Literal['xlsxwriter']" cannot be assigned to type "Literal['auto', 'openpyxl', 'pyxlsb', 'odf'] | None"
Type cannot be assigned to type "None"
"Literal['xlsxwriter']" cannot be assigned to type "Literal['auto']"
"Literal['xlsxwriter']" cannot be assigned to type "Literal['openpyxl']"
"Literal['xlsxwriter']" cannot be assigned to type "Literal['pyxlsb']"
"Literal['xlsxwriter']" cannot be assigned to type "Literal['odf']" (reportGeneralTypeIssues)
Describe the bug
Need support
engine="xlsxwriter"
forExcelWriter
To Reproduce
pyright reports
Please complete the following information:
pandas-stubs
1.5.2.221124Additional context
Need to add
"xlsxwriter"
to:pandas-stubs/pandas-stubs/io/excel/_base.pyi
Line 107 in 58416f2
When creating a test, have to update
pyproject.toml
to installxlsxwriter
for that testThe text was updated successfully, but these errors were encountered: