Closed danvk closed 1 year ago
@danvk CI is failing openpyxl-stubs/worksheet/worksheet.pyi:116: error: Name "DataValidation" is not defined
@MartinThoma added the missing import, we should be good now.
What threw me off was that worksheet.pyi
already contained a referenced to DataValidationList
without importing it:
I see now that this is in implementation code, which I assume is ignored in .pyi
file? Can it just be removed?
Huh, intersting. Yes, I guess it could be removed.
Thank you for fixing it! And thank you for the PRs :heart:
0.1.25
was just released with this fix
See https://openpyxl.readthedocs.io/en/stable/api/openpyxl.worksheet.worksheet.html?highlight=worksheet#openpyxl.worksheet.worksheet.Worksheet.add_data_validation