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
Suppose we have following toml:
[site.user] name = "John" # Inline comment age = 28
I want to convert site.user to an inline table:
site.user
v = parsed['site']['user'] table = tomlkit.inline_table() table.update(v) print(table.as_string())
{age = 21,name = "John"# Inline comment}
What is weird is that even with:
table.update(dict(v))
The bug still exists.
The expected behavior should be dropping all comments of original table.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Suppose we have following toml:
I want to convert
site.user
to an inline table:{age = 21,name = "John"# Inline comment}
What is weird is that even with:
The bug still exists.
The expected behavior should be dropping all comments of original table.
The text was updated successfully, but these errors were encountered: