Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Mar 18:15
· 10 commits to main since this release

moar quality of life methods!

additions

  • added get_toml_field and set_toml_field for programatically handling toml documents

  • added ModelBoundTOML.get_field and ModelBoundTOML.set_field for programatically handling ModelBoundTOMLs

  • added ModelBoundTOML.difference_between_document to see what fields have been changed between the 'outgoing' ModelBoundTOML and the 'incoming' TOMLDocument

    • for this, a new namedtuple class, tomlantic.Differences was made
  • added ModelBoundTOML.load_from_document to load in changes from an 'incoming' TOMLDocument
    useful for loading in a newer configuration file from disk or something

see the api details for details!

v0.1.3...v0.2.0