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
>>> import tomlkit >>> child = tomlkit.table() >>> child.add(tomlkit.key(("b", "c")), 1) {'b': {'c': 1}} >>> tbl = tomlkit.table() >>> tbl.add("a", child) {'a': {'b': {'c': 1}}} >>> tbl.as_string() 'b.c = 1\n' >>> child.is_super_table() True
Here the "a" level has been dropped, because child was classified as a super table. Using child = tomlkit.table(False) has the correct behavior.
child
child = tomlkit.table(False)
The text was updated successfully, but these errors were encountered:
fix: Table header missing
b344d30
Fixes #374 Signed-off-by: Frost Ming <me@frostming.com>
frostming
Successfully merging a pull request may close this issue.
Here the "a" level has been dropped, because
child
was classified as a super table. Usingchild = tomlkit.table(False)
has the correct behavior.The text was updated successfully, but these errors were encountered: