Skip to content

Document how to create a table without the supers #47

@epage

Description

@epage

I'm trying to create

[a.b.c]
d = 10

but I get

[a]
[a.b]
[a.b.c]
d = 10

Looking around, somethings I see that might be useful

  • tomlkit.items.Table(..., is_super_table) but am unclear where I apply it and what problems I need to avoid vs what is enforced for me
  • tomlkit.items.Key supports a type and dotted but it is unclear what should be done.
    • Even if I pass dotted=True, it looks like it'll still get a Basic type and be quoted. So I need to specify both Bare and dotted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions