validate_class_attributes๏ƒ

plasmapy.utils.decorators.validators.validate_class_attributes(
expected_attributes: list[str] | None = None,
both_or_either_attributes: list[Iterable[str]] | None = None,
mutually_exclusive_attributes: list[Iterable[str]] | None = None,
)[source]๏ƒ

A decorator responsible for raising errors if the expected arguments werenโ€™t provided during class instantiation.