Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, value, name=None, **kwargs):
if name is None and isidentifier(value):
name = value
super(ObservedEvent, self).__init__(value, names=name, **kwargs)