This PR refers to the issue #281 : pydantic: Upgrade validator to field_validator
I followed the instructions in the link provided and the recommendations in the Pydantic migration guide.
This lead to the subsequent modifications :
upgraded validator decorators to field_validators decorators
modified _normalize_target_time like functions that referred to validator function, to normalize_target_time like functions with field_validator decorations to match pydantic V2 recommendations
How Has This Been Tested?
I tested via the test framework as seen in the readme file. As the modification are minors, it should be enough.
Pull Request
Description
This PR refers to the issue #281 : pydantic: Upgrade validator to field_validator
I followed the instructions in the link provided and the recommendations in the Pydantic migration guide.
This lead to the subsequent modifications :
How Has This Been Tested?
I tested via the test framework as seen in the readme file. As the modification are minors, it should be enough.
Checklist: