Skip to content

Release 0.0.4

Compare
Choose a tag to compare
@hmusavi hmusavi released this 17 May 13:36
· 56 commits to master since this release
a796c29
  • Config.ini changes
    • Added metadata.request elements to config.ini
    • Eliminated the Path option in config.ini because the section keys have to be unique and there
      is always a possibility that two keys at different structures be named the same. SO now the section key
      has to be the ful path of the field name.
    • Took advantage of python configuration file variable dereferencing
    • config.ini then_part can now be an empty array or completely missing which would mean that the field is
      optional if the if_part condition is met.
    • The fieldValue of the ifPart can also be eliminated which would mean that the if the field identified by
      the fieldName of the ifPart exists, the field has to be validated. If it the field doesn't exist,
      it is considered optional and no validation error is issued.
    • Fields can now be specified to allow empty value by setting AllowEmpty = True. Currently only
      elevation is allowed to be empty.
  • Added field info to FieldValidationResult (renamed from ValidationResult) objects
  • Added serialId to the RecordValidationResult (NEW) object. This replaces RecordID.
  • Field, FieldValidationResult and RecordValidationResult objects now have __str__() method
    which allows them to be serialized for printing purposes.
  • Test files good.json and bad.json were updated with new tests for Broadcast TIM