Skip to content

v0.18.0 - Some more validation

Compare
Choose a tag to compare
@AKuederle AKuederle released this 13 Apr 16:30
· 277 commits to main since this release

[0.18.0] - 2023-04-13

Fixed

  • When super().__init__() is called before all parameters of the child class are initialized, we don't get an error
    anymore.
    Now all classes remember their parameters when they are defined and don't try to access parameters that are not
    defined in their own init.
    (#69)

Changed

  • Validation is now performed recursively on all subclasses. Note like before validation is still only performed once
    per class.
    But with this change, we can also validate base classes that are not used directly.
    (#70)

Added

  • We validate now, if a child class implements all the parameters of its parent class.
    While not strictly necessary, this is a sign of bad design, if not done.
    It could also lead to issues with tpcps validation logic.
    (#70)
  • It is now possible to hook into the validation and perform custom validation of classes.
    (#70)
  • The dataset class now activly triggers validation and checks if the dataset subclass implements groupby_cols and
    subset_index.