We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Item
Table
Error:
Argument 2 to "add" of "Container" has incompatible type "Table"; expected "Optional[Item]"
However, in the source code of Item, it indicates it can be a Table.
https://github.com/sdispater/tomlkit/blob/627fb1ae496a2531ec738e00c1abf6339472c1a4/tomlkit/items.py#L303-L304
It should allow me to pass a Table to .add().
.add()
Version 0.7.2 Python 3.7.2 mypy: 0.790
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error:
However, in the source code of
Item
, it indicates it can be aTable
.https://github.com/sdispater/tomlkit/blob/627fb1ae496a2531ec738e00c1abf6339472c1a4/tomlkit/items.py#L303-L304
It should allow me to pass a
Table
to.add()
.Version 0.7.2
Python 3.7.2
mypy: 0.790
The text was updated successfully, but these errors were encountered: