Closed
Description
Describe the bug
#898 missed the engine
attribute of the ExcelFile
class.
To Reproduce
import pandas as pd
with pd.ExcelFile("path.xlsx", engine="calamine") as xlsx:
pass
using mypy I got
error: Argument "engine" to "ExcelFile" has incompatible type "Literal['calamine']"; expected "Literal['xlrd', 'openpyxl', 'odf', 'pyxlsb'] | None" [arg-type]
Please complete the following information:
I don't think it matters, but:
- OS: Windows 10 22H2
- python v3.10
- mypy v1.13.0
pandas-stubs
v2.2.3.241126