validate parameters through pydantic
adresses #457
- adds
validate_signature
decorator and decorates all the SaQC qc methods with it through mixin - this means type hints in decorated methods are dynamically checked through pydantic
- adds a number of custom types as
pydantic.RootModels
(FreqStr
,SaQCFields
,...) - adds comparative Types
Int
andFloat
that yield constraint types as results fromdunder
comparisons against scalars in Annotations - overrides
autodoc_typehints
type hint parser to ensure bar notation for Union generic types.
Edited by Peter Lünenschloß