diff options
author | 2022-09-10 20:31:59 +0300 | |
---|---|---|
committer | 2022-09-10 20:31:59 +0300 | |
commit | a13417c82c73a5d30a66ae52eeb280622747ac3a (patch) | |
tree | 1d587a0f0706585c47f4c0218dc7a36716452f76 /tests/helpers.py | |
parent | Add settings display for individual filters and filter lists (diff) |
Convert all setting entries to pydnatic models
In order to facilitate this change, the init of all setting entries was removed, and as such the base SettingsEntry class doesn't count as abstract anymore, which broke the MUST_SET behavior. It was changed to not raise errors for MUST_SET values of attributes which were set in the current class.
Additionally fixed a small bug where filters weren't listed properly in the list command.
Despite the pydantic manual not writing it that way, I first made the validators class methods, otherwise it gave linting errors which couldn't be ignored with noqa (because then it complained about blanket noqas).
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions