Given
class ValidationRule:
def __init__(self, **kwargs):
# code here
Is there a way that I can define __init__
such that if I were to initialize the class with something like ValidationRule(other='email')
then self.other
would be "added" to class without having to explicitly name every possible kwarg?