Skip to content

Conversation

@matheusfelipeog
Copy link
Contributor

resolve #55059

@twoertwein twoertwein merged commit 723feb9 into pandas-dev:main Sep 9, 2023
@twoertwein
Copy link
Member

Thanks @matheusfelipeog !

@matheusfelipeog matheusfelipeog deleted the fix/incorrect-flavor-type-hint branch September 10, 2023 02:56
@matheusfelipeog
Copy link
Contributor Author

Thanks for the review and merge @twoertwein. Should pandas-stubs also be updated accordingly?

@twoertwein
Copy link
Member

You are welcome to also open a PR at pandas-stubs

Dr-Irv pushed a commit to pandas-dev/pandas-stubs that referenced this pull request Nov 2, 2023
* Fix flavor param with incorrect type hint in read_html

refs:
- pandas-dev/pandas#55059
- pandas-dev/pandas#55076

* Add HTMLFlavors type to read_html

ref: pandas-dev/pandas#55529

* Add tests and new dev dependencies

Added:
- tests to check HTMLFlavors type in read_html flavor arg;
- set beautifulsoup4 and html5lib as dev dependencies. They are used
by the respective flavors in read_html.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TYP/DOC: flavor parameter with incorrect type hint in read_html

2 participants